A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Getting form name in request
Joined: Feb 11, 2011
Feb 11, 2011 01:50:28
I would like to get the name of the form used to post parameters from a Java HTTPServletRequest object. Is this possible. I don't see any method that looks like it will return it to me.
Joined: May 14, 2004
Feb 11, 2011 03:02:12
You can add a hidden field that has the same value as form name.
You might have already considered this but just trying to put my thoughts here.
I agree. Here's the link:
subject: Getting form name in request
Not getting values
change name on button
Problem retaining form field after submission
problem with struts1.1 please help me...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014