• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Default scope fpr <c:set ?

 
Veena Pointi
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

In what scope attribute will be set if we don't specify scope in <c:set var="userLevel" value="CowBoy" /> tag?

Thanks
Veena
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64958
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does the JSTL Specification say?
 
Lucas Smith
Ranch Hand
Posts: 808
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear - good point .
<c:set> - default scope is page
<c:remove> - it searches all of the scopes or only the specified one.
Be aware! :P
 
Veena Pointi
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah spec says default scope is page.Thank you Lucas,Bear.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic