Hi,
I'm having a servlet which passes the string array to the jsp page. But when I try to run the jsp page i get error as
session can not be resolved. The code for jsp is,
<%@ page session="true"%>
<body onload=http://localhost:8080/OLT/GeQuest?CMD=geQ> //to call servlet automatically when page loads
<%!String[] srt=session.getAttribute("op5");%>
<form name=Test method = get >
<input type=submit value="Submit">
</form>
</body>
On the servlet I'm using session.setAttribute("op5",op5) and it has compiled without any problem.
Please let me know if u have any solution or if u figure out where im going wrong . Thank you.
Edited by: harsh884 on Aug 11, 2008 5:55 AM