16.10.2015 Views

Getting Started with WebSphere Application Server

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

60 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> Community Edition<br />

Figure 3.19 - Running the JSP<br />

6. Thus far you have created an HTML file (index.html), a servlet<br />

(HelloWorld.java), and a JSP (jsppage.jsp). Figure 3.20 shows the location of<br />

these items in the project.<br />

Figure 3.20 - Location of the items created for the project FirstProject<br />

3.7 Manually deploying an application<br />

<strong>Application</strong>s can be deployed directly to your Community Edition server, or they can be<br />

packaged into a Web application archive (WAR) file for later deployment at the same or<br />

other server. To create a WAR file (if your application is a simple Web application), export<br />

your project by right-clicking on the project and choosing Export -> WAR file. On the WAR<br />

Export panel, specify the destination where you will export the project. For this example<br />

you can store it in C:\FirstProject.war as shown in Figure 3.21.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!