protocol « HTTP « JSP-Servlet Q&A





1. What things should be kept in mind while desigining an HTTP based protocol?    stackoverflow.com

I have heard that http is a nice way to design my own protocol. although i can design a binary protocol, i would prefer to follow the HTTP standard to design ...

3. Can a servlet listen to something else than http port.. and talk other protocols    coderanch.com

A servlet can do just about anything any other class can do - that does not mean it is a good idea. The port and protocol on which your servlet sees requests and responses is fixed by the servlet engine. You would get better results and not get tangled up in problems of Threading, etc. if you created a separate class ...

4. Servlet HTTP protocol    coderanch.com

5. HTTP Protocol & Servlets    coderanch.com

getHeader(String name): The method getHeader(String name) of request object is used to return the value of header given in request. The returned value of header is a string. General Syntax: request.getHeader("String") In the above the returned value is a String. For instance String exfosys = request.getHeader("exforsys") The above would retrieve the value of the HTTP header whose name is exforsys in ...