How to deal with multi-valued parameters in a servlet?

Answer Posted / janet

Use the getParameterValues() method. This returns a String
array(or null) containing all the values of the parameter
requested.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain servlet events?

749


What is session tracking?

899


What is difference between GenericServlet and HttpServlet?

753


What is the life-cycle of servlets?

859


What is the directory structure of a war file?

904


How we can get ip address of client in servlet?

741


What is servlet mapping?

760


What is a server side include (ssi)

779


What is the use of httpservletrequestwrapper?

796


Explain the difference between servlet and cgi?

819


How can you start a jta transaction from a servlet deployed on jboss?

869


What’s the difference between sendredirect and forward methods

825


What is MIME Type?

872


What is the use of java servlet api?

785


How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255

3116