29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 8-13 Add the JSP to web.xml<br />

Select the Add to web.xml box. This will add a corresponding servlet entry in<br />

the Web deployment descriptor. You may or may not need this later but it is<br />

always a good practice to do so.<br />

9. Click Finish.<br />

A JSP file with the minimal JSP and HTML framework is generated using<br />

information we provided before and is opened in the editor area. With the JSP<br />

created, you can add the following code to it to complete the process of creating<br />

a JSP. Manually enter the code below to see the different tools available in Studio<br />

Site Developer.<br />

Example 8-7 AddNewItemProcess.jsp<br />

<br />

<br />

<br />

<br />

270 <strong>IBM</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> - Express V5.0.2 Developer Handbook

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

Saved successfully!

Ooh no, something went wrong!