|
Step 1: Create the WSsamples_app Web application
- Open WebSphere Application Server's Administrator Console.
- Choose Console
Tasks Create a Web Application.
- Web Application:
- Web Application Name: Type in WSsamples_app
- Enable File Servlet: Ensure this is selected.
- Serve Servlets By Classname: Select this option.
- JSP Version: Select Enable JSP 1.0
Click Next.
- Application Resources: Select Nodes
<hostname> Default Server DefaultServletEngine. Click Next.
- Web Application:
- Web Application Name: WSsamples_app should be displayed.
- Description: Type a description (optional).
- Virtual Host: default_host should be displayed.
- Web Application Web Path: This is the URL path to the directory on the HTTP server. (For example, http://<hostname> /WebSphereSamples.) Type in /WebSphereSamples
.
Click Next.
- Web Application: Ensure settings for the document root and classpath.
- Document Root: <Application Server Install Directory>\AppServer\hosts\default_host\WSsamples_app\web
- Classpath: <Application Server Install Directory>/AppServer/hosts/default_host/WSsamples_app/servlets
Click Finish.
|