Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about c:set var

 
Janna Voss
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It places an attribute not parameter. The type is the type what you use while setting the value.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic