This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Question about c:set var Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Question about c:set var" Watch "Question about c:set var" New topic
Author

Question about c:set var

Janna Voss
Greenhorn

Joined: Nov 09, 2004
Posts: 8
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 JSP know the object type? Can it be a JavaBean object that I've previously created?

thanks!
Gopal Bairwa
Greenhorn

Joined: Oct 05, 2004
Posts: 2
It places an attribute not parameter. The type is the type what you use while setting the value.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about c:set var
 
Similar Threads
jstl ..c:set
doubt in JSTL set tag
What if the value is null and the var does not exist in the particular scope for c : set?
"target" version of c:set
Confusion about "scope" attribute