J2EE Tutorial

java servlet filter component structure

Java Servlet Filter is the most important web component in java web application. It can intercept both request and response in the HTTP web communication. It can extract and manipulate […]

http header name and values for get request

ServletRequest instance is used to retrieve request information send from client user. We commonly use HttpServletRequest object in java servlet code. You can use it to collect content length, content […]

servlet definition in web.xml

ServletConfig is used to read servlet configuration data in web.xml. Web container will create one ServletConfig instance for each servlet. The advantage of use this object is that you can make […]

web application servlet architecture

Website consists of static resources and dynamic resources. Static resources include html page, javascript, css, images etc. And dynamic resources includes CGI, Servlet, JSP etc. In this article we will […]