<c:if > problem with param
Hi everyone!
I have problem that i need to resolve.
I had next code:
<form action="Pretraga.jsp" method="POST">
<tr valign="top" height="19">
<td width="145" bgcolor="#ffff66"><font face="Arial" size="2">
<div>Po vrsti zahteva</div></font>
</td>
<td width="383"><input size="6" name="rednibroj">牋牋牋牋牋牋牋牋牋牋牋牋?
?<input type="submit" name="method1" size="10" value="Pretrazi">
</td>
</tr>
</form>
<form action="Pretraga.jsp" method="POST">
<tr valign="top" height="14">
<td width="568" bgcolor="#ffff66"><font face="Arial" size="2">
<div>Po broju predmeta</div></font>
</td>
<td width="383"><input maxlength="2" size="2" name="referent">牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋?
<input type="submit" name="method2" size="10" value="Pretrazi">
</td>
</tr>
......
How i can put in the code down here name of input method1 and method2? I want when is submited input with name method1 then to execute code like this
<c:if test="${what_i_ need_ to _put_ here'}">
some code
</c:if>
and if is submited input with name mehod2 to executed code
<c:if test="${what_i_ need_ to _put_ here}">
some othet code
</c:if>
I assume that is something like this
<c:if test="${param(name)=='method1'}">
some code
</c:if>
but i need help
Thanks

