Re: jsp version of session variable access. Pointer to syntax wanted.

2005-02-08 Thread Tim Funk
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

RE: jsp version of session variable access. Pointer to syntax wanted.

2005-02-08 Thread Pawson, David
-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

Re: jsp version of session variable access. Pointer to syntax wanted.

2005-02-08 Thread 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. As an added bonus - you can pass expressions as values to your own custom tags and the container will translate the EL expression

RE: jsp version of session variable access. Pointer to syntax wanted.

2005-02-08 Thread Pawson, David
-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

Re: jsp version of session variable access. Pointer to syntax wanted.

2005-02-07 Thread Tim Funk
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

Re: jsp version of session variable access. Pointer to syntax wanted.

2005-02-07 Thread fstmncn
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