File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Getparameternames 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 » Java » Servlets
Reply locked New topic


Soniya Ahuja
Ranch Hand

Joined: Jul 20, 2008
Posts: 83
The method is getParameterNames which returns an enumeration. You can then iterate over the enumeration to get individual values corresponding to the names.

You can go through the API for the relevant methods.

SCJP 1.5 | SCWCD 5 | SCJP 6.0
[url][/url] - Online training for Java/JSPs and Servlets/SCJP/SCWCD
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

It seems like you missed this point in your post.

[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Yes, is there a question or are you answering a question asked in another post?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Getparameternames
Similar Threads
How to convert query string into xml Structure
A null pointer that I dont quite understand
What sort of methods are under request.*?
How to retrieve the parameter names from a JSP page ? Urgent Please
how to send 100's of textfields data to a servlet?