It is common in web applications to pass data or parameters from one to another page. To retrieve the value of various elements in a HTML form or from another page, we can use the following method which is available in HttpServletRequest object: String getParameters(String name) Enumeration getParameterName() String getParamterValue(String name) Client sends a HTTP request from web browsers containing a URL with servlet. Web server receives the request and forwards the request to application servers. Using information available in xml (deployment descriptor) the servlet container loads the object appropriate servlet classes. If required, the servlet retrieves data from database,
The post How to perform HTTP authentication in Servlets appeared first on Coding Security.
How to perform HTTP authentication in Servlets
read more
Tidak ada komentar:
Posting Komentar