When looking to use Java to create dynamic Web content, the servlet can help by extending the applications hosted by Web servers. To do this, the servlet object dynamically receives a request and generates an object based on that request. Servlets are created using the API found in the javax.servlet package. In this section on the Java servlet get news, advice, and tutorials on using the Java servlet to extend Web servers and help you create dynamic Web content. Learn how Java servlets can be used with JavaServer Pages and JavaServer Faces to make dynamic Web content for your organization.
Commonly misconfigured Tomcat performance settings
05 May 2013
Tip - Tomcat on the server is different from Tomcat on the desktop, but too many system admins fail to optimize their production servers for performance.
Tomcat performance optimization consolidating log files
05 May 2013
Tip - By default Tomcat uses several log file handlers, but performance can easily be optimized by configuring the server to use only one.
Permanently setting web.xml parameters
22 Mar 2013
Tip - Some settings in the web.xml file can easily be changed by developers, causing runtime problems on the server at deployment. Here is how to permanently set web configuration parameters on the server that will not be overridden.
Five Neat Liferay Portal 6.1 Features
23 Feb 2012
Tip - If you've ever run a competitive portal, you know that so many of them have little more than the "weather portlet" or "bookmarks" portlet after installation. Liferay is amazing because it has such full featured functionality 'out of the box.' Here's just...
ServletConfig vs. the ServletContext: Understanding the
02 Oct 2011
Tip - The ServletConfig and ServletContext are two members of the Servlet API that developers often confuse with one another, and sadly, because of the confusion, they often don’t take proper advantage of these objects.
Include vs. Forward of the Servlet RequestDispatcher
02 Oct 2011
Tip - The key difference between the two is the fact that the forward method will close the output stream after it has been invoked, whereas the include method leaves the output stream open.
HTML5, Java and the future of Web development
02 Jun 2011
Tip - The new mobile Web may feature a clear separation between the front-end HTML5 UI and the back-end Java applications.