On Tue, 28 May 2002, Paul DuBois wrote:

> So, for example:
> 
> <c:set var="myVar" scope="session" value="${null}" />
> 
> would be equivalent to this?
> 
> <% session.removeAttribute ("myVar") %>

Yes, or

  <c:remove var="myVar" scope="session" />

> I've read that section, but I wasn't quite clear on how to interpret
> it.  "null" is never used on constant font there, so I wasn't sure
> whether it was a keyword.  Thanks for the clarification, that helps.

Ah - right.  It's a keyword in terms of the EL; <c:set> just sees the
final "null."

-- 
Shawn Bayern
"JSP Standard Tag Library"   http://www.jstlbook.com
(coming in July 2002 from Manning Publications)


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

Reply via email to