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
Given the request path below, which are context path, servlet path and path info?
How we can get ip address of client in servlet?
How to get the server information in a servlet?
Explain url encoding?
What is the use of welcome-file-list?
Explain Action Servlet?
What is the difference between servlet and jsp?
If servlet receives multiple requests, how many objects will it create?
What is servlet instance?
What is a servlet?
What are different ways for authentication of servlet?
Explain how does JSP handle run-time exceptions?
Explain the lifecycle of a servlet?
What do you mean by a filter and how does it work?
What is java servlet?