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 Fri, 05 Jul 2002 22:19:07 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

craig.mcclanahan@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From craig.mcclanahan@sun.com  2002-07-05 22:19 -------
I believe the functionality just checked in (available in nightly build
20020706), coupled with recent changes, addresses this use case.

Now, you can use a combination of the following mechanisms:

* Set the "forwardPattern" property on the <controller element to
  "/WEB-INF/pages$A$P", so that the URIs for forwards will be computed
  according to this pattern.  Change the paths on existing <forward>
  elements to remove the "/WEB-INF/pages" prefix.

* Set the "inputForward" property on the <controller> element to "true",
  to indicate that the "input" attribute on an <action> should be considered
  to be the name of a local or global <forward>, instead of a subapp-relative
  URI (which remains the default for backwards compatibility).  Create new
  forwards and adjust existing "input" attributes as needed for this.
Now, mapping for input pages is done the same as for other forwards, and you can
use the "store JSP pages under WEB-INF" pattern successfully even with subapps.

--
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