A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
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
problem with struts1.1 please help me...
Not getting values
Problem retaining form field after submission
change name on button
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014