[jboss-jira] [JBoss JIRA] Updated: (JBWEB-72) html page and jsp are not display with in a Context defined in server.xml.
Jean-Frederic Clere (JIRA)
jira-events at jboss.com
Thu Feb 1 07:15:19 EST 2007
[ http://jira.jboss.com/jira/browse/JBWEB-72?page=all ]
Jean-Frederic Clere updated JBWEB-72:
-------------------------------------
Attachment: patch.txt
Patch to fix the default value of DefaultWebXml.
> html page and jsp are not display with in a Context defined in server.xml.
> --------------------------------------------------------------------------
>
> Key: JBWEB-72
> URL: http://jira.jboss.com/jira/browse/JBWEB-72
> Project: JBoss Web
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Core
> Affects Versions: JBoss Web Server 1.0.1 GA
> Environment: any
> Reporter: Jean-Frederic Clere
> Assigned To: Jean-Frederic Clere
> Priority: Minor
> Attachments: patch.txt
>
> Original Estimate: 4 days
> Remaining Estimate: 4 days
>
> When using a Context definition in server.xml like:
> <Context path="/test" docBase="/home/jfclere/TMP/MYAPP" />
> The jsp and html pages of /home/jfclere/TMP/MYAPP are not displayed (404 is returned).
> That is because the conf/web.xml is not used to set the defaults when the <Context/> is processed.
> DefaultWebXml is set in TomcatDeployer and that is after the <Context/> needs it. The default value is used but it is set to "web.xml".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list