Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tag libraries

Status
Not open for further replies.

abyinsydney

Programmer
Feb 17, 2004
99
AU
guys
Are any one of you Familiar with Tag Libraries.Could you help me out with a solution


i've installed jstl and trying to run one of its tags c:eek:ut

i can nnot do any arithmentic calculation in it

eg. c:eek:ut value =$"{2+2}" />

its printing {2+2} not 4 .Can any one help me with configuration issues
Aby
 
I think you want :

value =${2+2} or maybe value ="${2+2}"

instead of :

value =$"{2+2}"

--------------------------------------------------
Free Database Connection Pooling Software
 
sedj
i tried all possibilities but its not working .was thinking as if what is wrong with my tags.

your suggestion also did not work

Aby
 
<%@ taglib uri="jstl-c" prefix="c" %>
<c:eek:ut value="${2+2}"/>
// sedj is right
// in your web.xml
<taglib>
<taglib-uri>jstl-c</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top