aspose file tools*
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
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Question about c:set var