Hi Guyz,
I have a set of variable that I am generating. For example xyz_1,
xyz_2, xyz_3 and I want to test if these variable are passed as param
how would i write a c:if statement such that it changes the variable
name in loop.
forexample.. something like.
<c:if test="${not empty param.$var}"/>
where var generates xyz_1, xyz_2,xyz,_3 .. and so on.
Kindly let me know.
Thanks,
Hj
Daniel Pitts - 22 Mar 2007 22:30 GMT
On Mar 22, 11:40 am, "harshjain...@gmail.com" <harshjain...@gmail.com>
wrote:
> Hi Guyz,
>
[quoted text clipped - 12 lines]
> Thanks,
> Hj
You could try: <c:if test="${not empty param[var]}"> </c:if>