A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
Question about c:set var
Joined: Nov 09, 2004
Nov 09, 2004 08:25:00
Does <c:set var ...> place a *String* in specified scope, or does it place an *Object* in the scope? In other words, is it a parameter, or an attribute?
If this places an object in the specified scope, how does the
know the object type? Can it be a JavaBean object that I've previously created?
Joined: Oct 05, 2004
Nov 09, 2004 10:56:00
It places an attribute not parameter. The type is the type what you use while setting the value.
I agree. Here's the link:
subject: Question about c:set var
"target" version of c:set
Confusion about "scope" attribute
What if the value is null and the var does not exist in the particular scope for c : set?
doubt in JSTL set tag
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014