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
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