This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Want to redirect to another URL and having a single parameter using POST. how do i go about it....
'm using struts2 framework.
my URL is "http://server:port/apps/token=dufiidlcoodllsdkfficiidn"
also it would be really helpful if anybody gives me the action mapping in struts.xml, after i do the logic in an action class, how to redirect after POST.
Thanks in advance.
Pragna Mohapatra
Greenhorn
Joined: Dec 11, 2008
Posts: 5
posted
0
Robin John wrote:hi all,
Want to redirect to another URL and having a single parameter using POST. how do i go about it....
'm using struts2 framework.
my URL is "http://server:port/apps/token=dufiidlcoodllsdkfficiidn"
also it would be really helpful if anybody gives me the action mapping in struts.xml, after i do the logic in an action class, how to redirect after POST.
Thanks in advance.
hi
try doing a find forward on the request
like request.findForwrd("ur defined path");
you can rediect the request to a different jsp.
and action mapping you can do in the following way
actually i have to redirect from one application to another and pass the token to the 2nd application, and i need to hide it from the URL, because when i used the action mapping it still comes in the URL but i dont want that. so how do i hide the token parameter from being visible in the URL.