This might work:

<result type="redirect">${newPage}</result>

You might consider some sort of white list of internal resources that
can be accessed to prevent misuse.

Nils-H

On 9/7/07, Mirbek Nosinov <[EMAIL PROTECTED]> wrote:
> Is it possible to dynamicaly forward to any page from Action class execute()
> function. For example i get next request:
>
> /MyAction.action?newPage=AnotherAction.action
> or
> /MyAction.action?newPage=/pages/myJsp.jsp
> or
> /MyAction.action?newPage=www.com
>
> and this newPage parameter can be any url (suppose we get it from user).
> And i want to forward or redirect to thin newPage url from my Action class
> execute() function. How can i do this.
>
> Thanks in advanced
>

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

Reply via email to