wood burning stoves*
The moose likes Struts and the fly likes find list of parameters which are travelled from browser to server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "find list of parameters which are travelled from browser to server" Watch "find list of parameters which are travelled from browser to server" New topic
Author

find list of parameters which are travelled from browser to server

muthu bharathi
Ranch Hand

Joined: Dec 10, 2008
Posts: 97
Hi everybody,

how to find the list of parameters which are travelled from browser to server in struts and also in servlets.


please give me suggesion.

--
With Regds,
M. Bharathi
Balu Sadhasivam
Ranch Hand

Joined: Jan 01, 2009
Posts: 874



Muthu,
In servlets , HTTPServletRequest's getParameterNames() and getParameterMap() would give you the expected parameters list.
For Struts , you can access HTTPServletRequest as well , so that should be acheivable. anyways wait for Struts experts comments.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: find list of parameters which are travelled from browser to server
 
Similar Threads
Jrun, jsp:setProperty, null string array elements
collection manipulation using DWR
request.setAttribute and getAttribute problem
doGet exceptions
Passing objects with attributes