This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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
It is sorta covered in the JavaRanch Style Guide.
subject: setting a boolean using c:set
It's not a secret anymore!