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
The code in a finally clause will never fail to execute, right?
What is difference between jsp and servlet?
How to get the IP address of client in servlet?
Explain in brief the directory structure of a web application?
List out difference between a JavaBean from a Servlet?
Why are http servlets used in programming?
Why do we have servlet listeners?
How do you create a cookie using servlet?
What are the life-cycle methods for a servlet?
What is a servlet context?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
How printwriter is different from servletoutputstream?
Can you create a deadlock condition on a servlet?
What is the use of request dispatcher interface?
What is the servletconfig object?