This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes <c:set> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "<c:set>" Watch "<c:set>" New topic


amarkirt saroay
Ranch Hand

Joined: Mar 16, 2008
Posts: 167
If <c:set var="userlevel" scope="session">

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

Joined: Apr 21, 2008
Posts: 432
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.
I agree. Here's the link:
subject: <c:set>
jQuery in Action, 3rd edition