i want to send value to another jsp page from sessions
i add the attribute session=true in both jsp pages
but i am getting error during running mode
can u find any errors in code
try123.jsp
<%
String val=(String)session.getAttribute("itemValue").toString();
%>
<TD>IMAGE NAME</TD>
<TD><INPUT TYPE=text NAME="img" VALUE="<%=val%>"></TD>
</TR>
<tr>
try.jsp
String itemName = "hello hi!!";
session.setAttribute("itemValue",itemName);
response.encodeRedirectURL("try123.jsp")
response.sendRedirect("try123.jsp");
here i want string value from try.jsp in my textbox
can u find any error
i am getting some jasper exception