struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Aggarwal" <n...@JAMMConsulting.com>
Subject RE: redirect with parameter
Date Thu, 10 Dec 2009 23:20:55 GMT
Prasad:

> I am stuck with a problem I want to add parameters to
> redirect. Following is the example.

Here is what works for me:

In struts.xml:
  <result name="success" type="httpheader">
    <param name="status">303</param>
    <param name="headers.location">${redirectUrl}</param>
  </result>

I generate the full url in my bean code including all
parameters I want encoded.

I hope that helps,
	Neil


--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your struts app on a CentOS VPS for only $25/month!
Unmetered bandwidth = no overage charges, 7 day free trial


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


Mime
View raw message