File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Question about c:set var" Watch "Question about c:set var" New topic

Question about c:set var

Janna Voss

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?

Gopal Bairwa

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:
subject: Question about c:set var
It's not a secret anymore!