• Post Reply Bookmark Topic Watch Topic
  • New Topic

<c:set>  RSS feed

 
amarkirt saroay
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If <c:set var="userlevel" scope="session">
Sherif,Bartender,Cowgirl
</c:set>

Now if userLevel does not exist in the session,then what is the datatype of the new created session attribute "userLevel" ? Will it be a String array?


 
Chinmaya Chowdary
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Amarkirt. If we don't specify session, the default will be page. It will work like session.setAttribute("userLevel", "Sherif,Bartender,Cowgirl "). No string array.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!