You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Shah, Shrihas (OFT)" <Sh...@oft.state.ny.us> on 2003/04/25 19:58:48 UTC
can I use scriptlets in jstl library?
Hi:
Can I use scriptlets in JSTL?
e.g.
<% int z = 500; %>
<c:out value="<%=z%>"/>
It just prints <%=z%> not the value of z. I can use <c:set> and it works
fine. But I was wondering if I can use scriptlet expression for value?
I believe that scriptlet should be evaluated first before it passes the
info to tag.
Thanks.
Shrihas Shah.
Shrihas.shah@oft.state.ny.us
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: can I use scriptlets in jstl library?
Posted by Navjot Singh <na...@net4india.net>.
what would you like to mess up scriptlets rather than beautiful tags ;-)
btw,you may wish to check core-rt.
----- Original Message -----
From: "Shah, Shrihas (OFT)" <Sh...@oft.state.ny.us>
To: <st...@jakarta.apache.org>
Sent: Friday, April 25, 2003 11:28 PM
Subject: can I use scriptlets in jstl library?
Hi:
Can I use scriptlets in JSTL?
e.g.
<% int z = 500; %>
<c:out value="<%=z%>"/>
It just prints <%=z%> not the value of z. I can use <c:set> and it works
fine. But I was wondering if I can use scriptlet expression for value?
I believe that scriptlet should be evaluated first before it passes the
info to tag.
Thanks.
Shrihas Shah.
Shrihas.shah@oft.state.ny.us
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org