Quantcast
Channel: S. Nageswara Rao, Corporate Trainer – Way2Java
Viewing all articles
Browse latest Browse all 505

request.getScheme() Method Example in Servlets

$
0
0
This method is defined in ServletRequest interface from javax.servlet package inherited by HttpServletRequest. With this method, the servlet programmer can know what protocol (like HTTP) is used by the client from HTML file to call the servlet. Let us see what Java API says about this method. public java.lang.String getScheme(): Returns the name of the […]

Viewing all articles
Browse latest Browse all 505

Trending Articles