The JSP examples from a default tomcat install might have some.
-Tim
Pawson, David wrote:
-Original Message-
From: Tim Funk
EL first arrives as part of JSTL. Which was available in
JSP 1.2. But using EL required that is was used in a tag.
With JSP 2.0 - EL
-Original Message-
From: Tim Funk
EL first arrives as part of JSTL. Which was available in
JSP 1.2. But using EL required that is was used in a tag.
With JSP 2.0 - EL can be used anywhere one a page.
Worthy of note! Thanks Tim.
Do you know of any web page
EL first arrives as part of JSTL. Which was available in JSP 1.2. But using
EL required that is was used in a tag.
With JSP 2.0 - EL can be used anywhere one a page. As an added bonus - you
can pass expressions as values to your own custom tags and the container will
translate the EL expression
-Original Message-
From: Tim Funk
Via EL: (assuming sessionData.FILECOUNT = mySessionVariableName)
${sessionContext.mySessionVariableName}
Via snippet:
<%=session.getAttribute(sessionData.FILECOUNT)%>
In a jsp - the session variable i
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 acces
you can use expression language:
e.g.:
${sessionData.FILECOUNT}
--- "Pawson, David" <[EMAIL PROTECTED]> 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