The Artima Developer Community
Sponsored Link

Web Services Forum
How to get integer values using jsp tag library

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Dan Lu

Posts: 1
Nickname: ludan718
Registered: Aug, 2005

How to get integer values using jsp tag library Posted: Aug 20, 2005 12:25 AM
Reply to this message Reply
Advertisement
I have an integer variable iterationNumDec which is in session and I can get its value. However, in the following way, I can only get a string. For instance, a string whose content is '10'. Thus the <c: if > part will not work. could any one show me how to get around this problem. I really need to compare the two values, i.e., status.count and iterationNumDec in this case. Thanks.

<c:set var="size" value='${iterationNumDec}'/>
<c:forEach items='${detQryCollection}' var='qry' varStatus='status'>
<c:if test="${status.count<=size}">

Topic: Apache, Axis and JDK for web service problem Previous Topic   Next Topic Topic: How can I build a WSDL with meaningful names instead of in0?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use