File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: Struts logic redirect
It's not a secret anymore!