Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

855729Apr 15 2011 — edited Apr 18 2011
<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
djain29@gmail.com
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2011
Added on Apr 15 2011
6 comments
1,700 views