As I understand it, you'll have to use the object equivalents to these types
(Boolean, Integer, and so on), and then convert them to their base types on an
as-needed basis. I had to do this to set and react to session variables:

  <% if ((Boolean)session.getAttribute("userloggedin")).booleanValue()
     { doSomething(); }
  %>

-David Castro
 [EMAIL PROTECTED]

--- Arun Thomas <[EMAIL PROTECTED]> wrote:
> When using custom tags and the TagExtraInfo classes, is it possible to
> create
> scripting variables that are not objects, but rather basic types (i.e. int,
> boolean, etc).  I would guess that this is not possible, since the
> pageContext
> set/getAttribute methods require objects, but if anyone has info, or better
> yet,
> examples, showing otherwise, I'd appreciate if you could pass it on.
>
> Thanks,
> -AMT
>
>
> ���`����,��,����`����,��,����`����,��,����`����,��,����`����,��,����`����,��
> ,��
>
> Arun Mammen Thomas
> Email: [EMAIL PROTECTED]
> Phone: (415) 547-7004
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to