最近打算从TOMCAT迁移到国产货apusic,但居然部署时,发现有如下的错误:

com.apusic.xml.reader.ScanException: The URL pattern ' /FCKeditor/editor/filemanager/browser/default/con nectors/jsp/connector ' cannot contains CR(#xD) or LF(#xA) characters

 

查了一下,原来web.xml中,

 

<url-pattern>

/FCKeditor/editor/filemanager/upload/simpleuploader

</url-pattern>

不大规范,在servlet 2.3中还可以,由于apusic是2.4了,所以不行,只能全部写在一行就可以了