Usage Tracking a Request Handle Footprint

Creating and Configuring Servlets 4-9

4.7.2.1 Usage

The WebLogic Server servlet container provides more detailed log messages during request handling to better describe each milestone in a request flow. No additional configuration changes are required other than enabling the DebugHttp logger. You can then find the footprint of a request handle in the server log. Once in production mode, you should disable DebugHttp logger to maximize server performance. 4-10 Developing Web Applications, Servlets, and JSPs for Oracle WebLogic Server 5 Creating and Configuring JSPs 5-1 5 Creating and Configuring JSPs The following sections describe how to create and configure JSPs. ■ Section 5.1, WebLogic JSP and Java EE ■ Section 5.2, Configuring Java Server Pages JSPs ■ Section 5.3, Registering a JSP as a Servlet ■ Section 5.4, Configuring JSP Tag Libraries ■ Section 5.5, Configuring Welcome Files ■ Section 5.6, Customizing HTTP Error Responses ■ Section 5.7, Determining the Encoding of an HTTP Request ■ Section 5.8, Mapping IANA Character Sets to Java Character Sets ■ Section 5.9, Configuring Implicit Includes at the Beginning and End of JSPs ■ Section 5.10, Configuring JSP Property Groups ■ Section 5.11, Writing JSP Documents Using XML Syntax

5.1 WebLogic JSP and Java EE

WebLogic JSP supports the JSP 2.1 specification at http:java.sun.comproductsjsp . The main theme for Java EE is ease of development. The platforms Web tier contributes significantly to ease of development in two ways. First, the platform now includes the JavaServer Pages Standard Tag Library JSTL and JavaServer Faces technology. Second, all the Web-tier technologies offer a set of features that make development of Web applications on Java EE much easier, such as complete alignment of JavaServer Faces technology tags and JavaServer Pages JSP software code.

5.2 Configuring Java Server Pages JSPs

In order to deploy Java Server Pages JSP files, you must place them in the root or in a subdirectory below the root of a Web application. You define JSP configuration parameters in subelements of the jsp-descriptor element in the WebLogic-specific deployment descriptor, weblogic.xml. These parameters define the following functionality: ■ Options for the JSP compiler ■ Debugging ■ How often WebLogic Server checks for updated JSPs that need to be recompiled