Re: Calling an action before pageload

Ash <[email protected]> Tue, 12 Dec 2006 15:24:10 CST
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <21885534.1165958721345.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
Yogya,

The other option would be to use an action tag in your index.jsp and the result of the action can point to another page through the xwork.xml file.

index.jsp -> call - > action using action tag -> xwork.xml -> mainpage.jsp

Eg:
<ww:action name="test" id="intialize" execultResult="true />

You can redirect the result of this action to the page you want to load after initializing the required parameters.

HTH
Ash
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=53042&messageID=107066#107066

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]