jQuery in Action, 3rd edition
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
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: 540
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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Getting form name in request
 
It's not a secret anymore!