Hi all,
I use velocity and I try to get parameter of a form.

In jsp, to get parameter of a form:
<%
  request.getParameter("submit1");
%>
Please, show me the function to get parameter of a
form in velocity. Thanks.

There is description of my problem in detail.

<html>

<head>
<script type="text/javascript">
  function greet()
  {
    document.frm1.submit1.value = "true";
    document.frm1.submit();
  }
</script>
</head>

<body>

<form method="POST" name = "frm1">
  <input type="hidden" name="submit1" value="false">
  <table>
    <td>
      <a onclick="greet();">
        <img src="button1.gif">
      </a>
    </td>
  </table>
</form>

</body>
</html>

I try using #request.getParameter("submit1"), but I
get a error.
How to get parameter "submit1" in velocity. Please,
help me.

Thanks again.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to