Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change 
notification.

The following page has been changed by FrankZammetti:
http://wiki.apache.org/struts/IssuesAndSolutions

------------------------------------------------------------------------------
  </action>
  }}}
  
- A few other alternatives were suggested, but it is easier to just reference 
the appropriate forum post for you to look at: 
[http://forums.opensymphony.com/thread.jspa?threadID=23755&tstart=15]
+ An even easier solution however, as suggested by Ted Husted in the thread 
referenced below, is to use the !ActionSupport class.  Your mapping then is 
just:
  
+ {{{
+ <action name="justAForward" class="com.opensymphony.xwork.ActionSupport">
+   <result name="success">pageToDisplay.jsp</result>
+ </action>
+ }}}
+ 
+ Because the default implementation of execute() in !ActionSupport simply 
returns SUCCESS, and since execute() is called by default when no method is 
specified in the mapping, this does exactly the same thing as the Action code 
shown above, without the need for a custom class being introduced.
+ 
+ Here is a reference to the thread discussing this: 
[http://forums.opensymphony.com/thread.jspa?threadID=23755&tstart=15]
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to