Re: Redirect with Struts 2

2007-01-08 Thread Tom Schneider
You want me to give away all my secrets, don't you?!? :) If the list of parameters is static, then you can just retrieve them from properties of the action: ${nextURL}?emailId=${emailId}&name=${name} If it is a dynamic list, there is a org.apache.struts2.views.util.URLHelperclass that has utilit

Re: Redirect with Struts 2

2007-01-08 Thread Information Guzzler
How about passing parameters along with the redirect? On 1/8/07, Tom Schneider <[EMAIL PROTECTED]> wrote: Interesting question. I had the same question when I started looking at webwork. Here's what I do when I need to redirect to a different domain. If it's a static url, you can just hard c

Re: Redirect with Struts 2

2007-01-08 Thread Tom Schneider
Interesting question. I had the same question when I started looking at webwork. Here's what I do when I need to redirect to a different domain. If it's a static url, you can just hard code the full url in your struts.xml with a result type of redirect. If it's dynamic, there's a little mor