getServerPost() says, "to which port was the request originally sent?" getLocalPost() says, "on which port did the request end up with?"
all request are send to a single port(server port), where the server is listening. then the server find another port(Local port) to handle this thread, so that the app server can handle many client at the sametime.
Joined: Jul 01, 2004
It means this is useful when we configure Apache & Tomcat together.
Lets say I configure Apache at port 80 and Tomcat at port 8080, can i say getServerPost() refers to port 80 and getLocalPost() refers to 8080 port.
Am I right in understanding this?
Lets say I use only Tomcat at port 80 in this case I cannot use getLocalPost() rite?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com