struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10268] - Sub-apps need context-relative option for 'input' of an Action
Date Mon, 01 Jul 2002 18:10:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10268>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10268

Sub-apps need context-relative option for 'input' of an Action





------- Additional Comments From martinc@apache.org  2002-07-01 18:10 -------
The problem is, my JSP pages are under WEB-INF, and the computed URL messes up 
the path to that directory. If my action config looks like this:

  <action ... input='/WEB-INF/pages/myPage.jsp' ... />

then the computed URL looks like this:

  /myApp/mySubApp/WEB-INF/pages/myPage.jsp

which is incorrect - the sub-app name should not be there. It needs to be:

  /myApp/WEB-INF/pages/myPage.jsp

to work correctly.

There was also a thread on struts-user a while ago where someone else was 
having a similar problem:

http://marc.theaimsgroup.com/?l=struts-user&m=101865931500963&w=2

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message