Java Servlet Programming Question:

What is new in ServletRequest interface?(Servlet 2.4)

Java Servlet Programming Interview Question
Java Servlet Programming Interview Question

Answer:

The following methods have been added to ServletRequest 2.4 version:
public int getRemotePort()
public java.lang.String getLocalName()
public java.lang.String getLocalAddr()
public int getLocalPort()


Previous QuestionNext Question
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?Request parameter How to find whether a parameter exists in the request object?