Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: Dynamically redirect to a page

Anjali

2007-01-28

Replies:

On 1/28/07, Omer Basar <omerbasar@(protected):
>
> Hi all,
>
> I have another problem. I want to redirect my action to a link but the
> link
> must be gathered from database and it can be chosen randomly. So I cannot
> staticly put a definition for this action in struts.xml . How can I do
> this.
> (Example : When I press a button I forward it to ClickAction and I want it
> to redirect to another page such www.yahoo.com or www.gmail.com (it is
> chosen randomly))
>
> Thanks In Advance.
>
>
©2008 junlu.com - Jax Systems, LLC, U.S.A.