6 Replies Latest reply: Apr 18, 2011 3:43 AM by EJP RSS

    How to change the value of request.getParameter("submit")

      <input type="submit" name="submit" value="postLeave" />

      When I click on the submit button, control goes to a servlet file, where I can access the value of submit using request.getParameter("submit") which is the postLeave here. After accessing this value I want to change it's value or unset the "submit" in the same file.....

      Like in php we can do this easily using unset($_POST['submit']) ........ but how can I do this in java servlet....? Is there any method to do this...........? If not, then can anybody tell me the alternative solution for this.

      Deepak Jain