This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSP and the fly likes setting  a boolean using c:set Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSP
Bookmark "setting  a boolean using c:set" Watch "setting  a boolean using c:set" New topic

setting a boolean using c:set

Kaustubh Patil
Ranch Hand

Joined: Aug 13, 2001
Posts: 164
I am using JSTL.
Here I am creating a new variable by using
<c:set var="blnExists" value="true">
now what will the type of the "blnExists" ?
Will it be string or a boolean ?
thanks in advance.

Kaustubh. Mumbai, India.
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
It is an Object according to the JSTL specifications.

Matthew Phillips
I agree. Here's the link:
subject: setting a boolean using c:set
It's not a secret anymore!