Try:


<c:out value="${pageContext.session.id}" />

similarly: <c:out value="${pageContext.request.requestURL}" />


applicationScope, sessionScope, and requestScope are JSTL implicit variables that store object attributes, such as session attributes.

I would get ahold of the JSTL specification and just leaf through the implicit objects to review what they represent.

Bruce


On Monday, June 9, 2003, at 01:50 AM, Jon Archer wrote:


try <c:out value="${sessionScope.id}" />

and similarly requestScope.something


On Sun, 2003-06-08 at 23:41, David N. Foote wrote:
I would expect <c:out value="${session.id}"/> to produce the same output as
<% out.write(session.getId()); %>.
But there is no output from the former. Can anyone explain this? The same
thing applies to request.requestURL.


David Foote


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to