File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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
I agree. Here's the link:
subject: setting a boolean using c:set
jQuery in Action, 3rd edition