Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Servlets and the fly likes Getting form name in request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Getting form name in request" Watch "Getting form name in request" New topic
Author

Getting form name in request

Anandhakrishnan Venkataramanan
Greenhorn

Joined: Feb 11, 2011
Posts: 2

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.
amit punekar
Ranch Hand

Joined: May 14, 2004
Posts: 534
Hi,
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.

regds,
Amit
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Getting form name in request