• +91 9723535972
  • info@interviewmaterial.com

Servlet Interview Questions and Answers

Question - Request parameter How to find whether a parameter exists in the request object?

Answer - 1.boolean hasFoo = !(request.getParameter("foo") == null || request.getParameter("foo").equals("")); 2. boolean hasParameter = request.getParameterMap().contains(theParameter); (which works in Servlet 2.3+)

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners