JSP
Java Tutorial
-
Home
-
Java Tutorial
-
JSP
- Reference Session Value Across JSP Page
< html>
Session Example
<%
String val = request.getParameter("name");
if (val != null)
session.setAttribute("name", val);
%>
Session Example
Where would you like to go?
Page 1
Page 2