This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
A user reported on netbeans-feedback that they had trouble deploying a jnlp app that they created in NB to SJSAS. The error message at deployment indicated that the web.xml did not conform to the DTD. I checked the web.xml and the error message is correct. The session-config element and the welcome-file-list must follow the servlet-mapping element.
Created attachment 37886 [details] the web.xml from the user
I need steps to reproduce. Just running any suite with "Build JNLP Application" generates parseable web.xml, sorry.
Perhaps the user was making a JNLP app from a non-NB-platform project? From a module suite, I get ---%<--- <web-app> <servlet> <servlet-name>JnlpDownloadServlet</servlet-name> <servlet-class>jnlp.sample.servlet.JnlpDownloadServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>JnlpDownloadServlet</servlet-name> <url-pattern>*.jnlp</url-pattern> </servlet-mapping> </web-app> ---%<--- which does not look like the attachment.