Via EL: (assuming sessionData.FILECOUNT = mySessionVariableName)
${sessionContext.mySessionVariableName}
Via snippet: <%=session.getAttribute(sessionData.FILECOUNT)%>
In a jsp - the session variable is given to you as implicit variable.
-Tim
Pawson, David wrote:
Looking for the syntax to gain access to a session variable in a jsp page, rather than converting it to java.
HttpSession session=request.getSession(); String s = (String)session.getAttribute(sessionData.FILECOUNT);
I'm not using the xml syntax (as yet). tomcat 5028.
any pointers appreciated please.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
