Taglib works primarily with 3 types.  Double, Long, and String.  if it's
got a "." then it's a Double. If not it's Long.


Savan Thongvanh
Berkley Technology Services



|---------+---------------------------->
|         |           "Robert Taylor"  |
|         |           <[EMAIL PROTECTED]|
|         |           ta.com>          |
|         |                            |
|         |           10/24/2003 12:27 |
|         |           PM               |
|         |           Please respond to|
|         |           "Tag Libraries   |
|         |           Users List"      |
|         |                            |
|---------+---------------------------->
  
>----------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                            |
  |       To:       <[EMAIL PROTECTED]>                                                
              |
  |       cc:                                                                          
                            |
  |       Subject:  Determine a values type                                            
                            |
  
>----------------------------------------------------------------------------------------------------------------|




Is there a way to determine a values type?
I basically need to know if a value is an integer.

For example, the following throws an exception if the value "userId" cannot
be coerced:

<c:if test="{param.userId > 0}">

</c:if>

robert


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




CONFIDENTIALITY NOTICE: This e-mail and the transmitted documents contain
private, privileged and confidential information belonging to the sender.
The information therein is solely for the use of the addressee.  If your
receipt of this transmission has occurred as the result of an error, please
immediately notify us so we can arrange for the return of the documents.
In such circumstances, you are advised that you may not disclose, copy,
distribute or take any other action in reliance on the information
transmitted.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to