[
http://jira.codehaus.org/browse/CARGO-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Magnus Grimsell reassigned CARGO-588:
-------------------------------------
Assignee: Magnus Grimsell
> Reverse Servlet Definitions
> ---------------------------
>
> Key: CARGO-588
> URL:
http://jira.codehaus.org/browse/CARGO-588> Project: Cargo
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0
> Environment: Linux dahlia 2.6.21.5-smp #2 SMP Tue Jun 19 14:58:11 CDT 2007 i686 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz GenuineIntel GNU/Linux
> java version "1.6.0_02"
> Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
> Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing)
> Reporter: Petar Tahchiev
> Assignee: Magnus Grimsell
>
> Hi,
> I found that the <servlet-mapping> directives always goes before the <welcome-file-list>, so if I put the <welcome-file-list> in the beginning of the web.xml, and then call:
> WebXmlUtils.addServlet(theWebXml, this.name, SERVLET_REDIRECTOR_CLASS);
> WebXmlUtils.addServletMapping(theWebXml, this.name, this.mapping);
> this will cause the produced web.xml to have reversed servlet definitions, like:
> <servlet-mapping>
> ....
> </servlet-mapping>
> and then
> <servlet>
> .....
> </servlet>
> In order to avoid this I have to put the <welcome-file-list> at the end of the web.xml.
> For additional info have a look here:
>
http://www.nabble.com/WebXmlUtils-Possible-Problem-to18466748.html#a18466748> Thanks, Petar.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email