web.xml, glassfish deployment error
web.xml, glassfish deployment error
- Subject: web.xml, glassfish deployment error
- From: Jerome Chan <email@hidden>
- Date: Fri, 4 Apr 2008 04:17:16 +0800
After running through the autogenerated web.xml through xmllint, I
found an error which corresponds to the glassfish deployment error. I
removed the following line and xmllint validates it.
<context-param>
<param-name>WEBINFROOT</param-name>
<param-value>%WEBINFROOT%</param-value>
</context-param>
If I place this context-param before the <servlet> tags, it also
validates.
Checking the DTD
<!ELEMENT web-app (icon?, display-name?, description?, distributable?,
context-param*, servlet*, servlet-mapping*, session-config?,
mime-mapping*, welcome-file-list?, error-page*, taglib*,
resource-ref*, security-constraint*, login-config?, security-role*,
env-entry*, ejb-ref*)>
From my limited knowledge of reading dtds, does it appear that all
context-params must be placed before servlet tags?
If this is the case, how do I go about changing the template for the
autogenerated web.xml file?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden