Deploying a JSP

Deploying a JavaServer Page is much like deploying an HTML page. A JSP will compile to a servlet, but unlike a servlet, it does not require any specific registration. You simply copy it into the root directory of the deployed Web application. The following steps will guide you through the deployment of a JSP:

1.
Start the administration server.
2.
Copy your JSP file into the default Web application directory of your WebLogic Server installation. You can create a Web Application, and set the default Web Application through the WebLogic Administration Console. For illustrative purposes, we will name this file bar.jsp. We'll deploy our JSP file into this directory:
C:/bea/user_projects/mydomain/applications/DefaultWebApp
3.
Copy ...

Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.