Hi ,
I have a JSP in which i am redirecting to another jsp like ,i dont have any other data in that jsp,i want to pass a value from this jsp(index.jsp) to the redirected jsp(login.jsp),how will i do this?
Here "logonInput" is defined in struts-config.xml
index.JSP is like
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%
String sessionExpired=(String)request.getAttribute("SessionExpired");
%>
<logic:redirect forward="logonInput"/>
I want to display or pass the value sessionExpired to login.jsp