Java Servlet Programming Question:
What is new in ServletRequest interface?(Servlet 2.4)
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()
public int getRemotePort()
public java.lang.String getLocalName()
public java.lang.String getLocalAddr()
public int getLocalPort()
Previous Question | Next 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? |