BEA Logo BEA WebLogic Server Release 6.1

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

  |  

  WebLogic Server Doc Home   |     Web Applications   |   Previous Topic   |   Next Topic   |   Contents   |   Index   |   View as PDF

Assembling and Configuring Web Applications

 

 

Web Applications Basics

Overview of Web Applications

Main Steps to Create a Web Application

Directory Structure

URLs and Web Applications

Web Application Developer Tools

ANT Tasks to Create Skeleton Deployment Descriptors

Web Application Deployment Descriptor Editor

XML Editor

 

Deploying Web Applications

Overview of Deploying Web Applications

Deploying Web Applications Using Auto-Deployment

How to Deploy a Web Application Using Auto-Deployment

Uploading a Web Application to the applications Directory

Redeploying a Web Application Using Auto-Deployment

Redeploying a Web Application in a .war Archive

Redeploying a Web Application in Exploded Directory Format

Deploying Web Applications with Production Mode Enabled

Deploying a Web Application Using the Administration Console

Deploying a Web Application Using the weblogic.deploy Utility

Redeploying a Web Application with Production Mode Enabled

Redeploying a Web Application Using the Administration Console

Redeploying a Web Application Using the weblogic.deploy Utility

Partial Redeployment

Refreshing Static Components Without Redeploying the Application

Un-deploying Web Applications

Un-deploying a Web Application Using the Administration Console

Un-deploying a Web Application Using the weblogic.deploy Utility

Deleting a Web Application

Deleting a Web Application in the applications Directory

Deleting a Web Application Using the Administration Console

Deleting a Web Application Using the weblogic.deploy Utility

Deploying Stand-Alone Web Applications

 

Configuring Web Application Components

Configuring Servlets

Servlet Mapping

Servlet Initialization Parameters

Configuring JSP

Configuring JSP Tag Libraries

Configuring Welcome Pages

Setting Up a Default Servlet

Customizing HTTP Error Responses

Using CGI with WebLogic Server

Configuring WebLogic Server to use CGI

Requesting a CGI Script

Serving Resources from the CLASSPATH with the ClasspathServlet

Configuring External Resources in a Web Application

Referencing EJBs in a Web Application

Determining the Encoding of an HTTP Request

Mapping IANA Character Sets to Java Character Sets

 

Using Sessions and Session Persistence in Web Applications

Overview of HTTP Sessions

Setting Up Session Management

HTTP Session Properties

Session Timeout

Configuring Session Cookies

Using Longer-Lived Cookies

Logging Out and Ending a Session

Configuring Session Persistence

Common Properties

Using Memory-based, Single-server, Non-replicated Persistent Storage

Using File-based Persistent Storage

Using a Database for Persistent Storage (JDBC persistence)

Using Cookie-Based Session Persistence

Secure Cookies

Using URL Rewriting

Coding Guidelines for URL Rewriting

URL Rewriting and Wireless Access Protocol (WAP)

 

Configuring Security in Web Applications

Overview of Configuring Security in Web Applications

Setting Up Authentication for Web Applications

Multiple Web Applications, Cookies, and Authentication

Single Sign-on Requirements

Restricting Access to Resources in a Web Application

Using Users and Roles Programmatically in Servlets

 

Application Events and Listeners

Overview of Application Events and Listeners

WebLogic Server 6.1 with J2EE 1.2 and J2EE 1.3 Functionality

WebLogic Server 6.1 with J2EE 1.2 Plus Additional J2EE 1.3 Features

WebLogic Server 6.1 with J2EE 1.2 Certification

Servlet Context Events

HTTP Session Events

Configuring an Event Listener

Writing a Listener Class

Templates for Listener Classes

Servlet Context Listener Example

HTTP Session Attribute Listener Example

Additional Resources

 

Filters

Overview of Filters

WebLogic Server 6.1 with J2EE 1.2 and J2EE 1.3 Functionality

WebLogic Server 6.1 with J2EE 1.2 Plus Additional J2EE 1.3 Features

WebLogic Server 6.1 with J2EE 1.2 Certification

How Filters Work

Uses for Filters

Configuring Filters

Configuring a Filter

Configuring a Chain of Filters

Writing a Filter

Example of a Filter Class

Filtering the Servlet Response Object

Additional Resources

 

Writing Web Application Deployment Descriptors

Overview of Web Application Deployment Descriptors

Tools for Editing Deployment Descriptors

Writing the web.xml Deployment Descriptor

Main Steps to Create the web.xml File

Detailed Steps to Create the web.xml File

Sample web.xml

Writing the WebLogic-Specific Deployment Descriptor (weblogic.xml)

Main Steps to Create the weblogic.xml File

Detailed Steps to Create the weblogic.xml File

 

web.xml Deployment Descriptor Elements

icon Element

display-name Element

description Element

distributable Element

context-param Element

filter Element

filter-mapping Element

listener Element

servlet Element

icon Element

init-param Element

security-role-ref Element

servlet-mapping Element

session-config Element

mime-mapping Element

welcome-file-list Element

error-page Element

taglib Element

resource-ref Element

security-constraint Element

web-resource-collection Element

auth-constraint Element

user-data-constraint Element

login-config Element

form-login-config Element

security-role Element

env-entry Element

ejb-ref Element

 

weblogic.xml Deployment Descriptor Elements

description Element

weblogic-version Element

security-role-assignment Element

reference-descriptor Element

resource-description Element

ejb-reference-description Element

session-descriptor Element

Session Parameter Names and Values

jsp-descriptor Element

JSP Parameter Names and Values

container-descriptor Element

check-auth-on-forward Element

redirect-with-absolute-url

charset-params Element

input-charset Element

charset-mapping Element

 

back to top   next page