This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts logic redirect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic

Struts logic redirect

Patrick McDonogh
Ranch Hand

Joined: Oct 13, 2005
Posts: 89
Does anyone know how to redirect to another action from a jsp page that is one of the tiles in a page.

For instance say i have a tiles definition that contains three pages, Home.jsp, Contact.jsp and Content.jsp. How do i redirect the user from the Content.jsp page to another action.
I have tried doing this using <logic:redirect action="/someAction"/> but it doesnt work when the page is part of a tile.

How would i do this?

Thanks for your help in advance.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864

Please don't post the same question in more than one thread. It wastes the time of the developers willing to answer your question. I'm closing this thread and leaving the other one open.

Consultant, Sima Solutions
subject: Struts logic redirect