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.

Bug 93692 - jnlp apps have invalid web.xml
Summary: jnlp apps have invalid web.xml
Status: VERIFIED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-31 16:50 UTC by Vince Kraemer
Modified: 2007-02-12 22:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the web.xml from the user (904 bytes, text/xml)
2007-01-31 16:52 UTC, Vince Kraemer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vince Kraemer 2007-01-31 16:50:15 UTC
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.
Comment 1 Vince Kraemer 2007-01-31 16:52:27 UTC
Created attachment 37886 [details]
the web.xml from the user
Comment 2 Jaroslav Tulach 2007-02-12 13:33:07 UTC
I need steps to reproduce. Just running any suite with "Build JNLP 
Application" generates parseable web.xml, sorry.
Comment 3 Jesse Glick 2007-02-12 22:18:55 UTC
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.