logic:redirect & tiles

Y

yelledbett

I am wondering if anyone has had problems using <logic:redirect from a
tile?

----- Here is the code from my tile ------

<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic"
prefix="logic" %>
<%@ page import="com.eds.gweb.whadmin.model.UserSessionObject;" %>

<%
UserSessionObject uso =
(UserSessionObject)session.getAttribute("uso");
if(uso.ifMustChangePassword()) {
System.out.println("redirecting to changePassword");
%>

<logic:redirect forward="changepassword" />

<%
}
%>


I do not get any errors in the catalina.out, and it does print the
"redirecting to changePassword" in the catalina.out.

My index page redirects to the struts controller properly, and if I put
the logic:redirect in the main layout it works fine as well (but i need
it in a tile because some pages i don't want to redirect).

Any thoughts?

Thanks in advance!
Sonny
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Tiles 0
Tiles 1
Struts Tiles Error 0
Tiles insert with jspf components 0
Struts - Tiles Question 4
Sample code error - method getParameters 6
Struts Validator WITH Tiles 2
Struts Tiles EL problem 1

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
DewittMill
Top