You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/02/19 18:16:42 UTC

DO NOT REPLY [Bug 27080] - RequestUtils.forwardURL causes null pointer exception

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=27080>.
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=27080

RequestUtils.forwardURL causes null pointer exception

husted@apache.org changed:

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



------- Additional Comments From husted@apache.org  2004-02-19 17:16 -------
The default module is a module too. If a NPE is exposed here, it would be
because a link lead directly to a page, rather than through an action mapping
first. To use tools like setForward, you must link to an action mapping so that
the controller is invoked and the appropriate resources exposed to the tool. So
instead of linking to, say, a *.do, there is a link directly to a *.vm here. For
many of the tools this doesn't matter, but for setForward it does. 

For more help with the Velocity Tools, including the Struts Velocity Tools,
please post to Velocity User list. 

-Ted.

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