blob: bceb6d500987ab4fd20e8cfea7538d8fef84bf75 [file] [log] [blame]
<html><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><link type="text/css" href="../../../../../default_style.css" rel="stylesheet"><link type="text/css" href="../../../../../webtools/wtp.css" rel="stylesheet"><title>Creating a Web project</title></head><body><table border="0" cellpadding="2" cellspacing="5" width="100%"><tbody><tr><td align="left" width="60%"><font class="indextop">jst j2ee</font><br><font class="indexsub">Creating a Web project</font></td><td width="40%"><img src="../../../../../webtools/images/wtplogosmall.jpg" align="middle" height="129" hspace="50" width="207" alt="WTP Logo" usemap="logomap"><map id="logomap" name="logomap"><area coords="0,0,207,129" href="/webtools/" alt="WTP Home"></map></td></tr></tbody></table><table border="0" cellpadding="2" cellspacing="5" width="100%"><col width="16"><col width="*"><tbody><tr><td colspan="2" align="left" bgcolor="#0080c0" valign="top"><b><font color="#ffffff" face="Arial,Helvetica">Intoduction</font></b></td></tr><tr><td align="right" valign="top">
&nbsp;
</td><td valign="top"><p>
This test case walkthroughs the steps required to create web projects in
WTP.
</p></td></tr><tr><td align="right" valign="top">
&nbsp;
</td><td valign="top"><br></td></tr><tr><td colspan="2" align="left" bgcolor="#0080c0" valign="top"><b><font color="#ffffff" face="Arial,Helvetica">Steps</font></b></td></tr><tr><td align="right" valign="top"><img src="../../../../../images/Adarrow.gif" border="0" height="16" width="16"></td><td>
<B>Creating a Static Web project</B>
</td></tr><tr><td align="right" valign="top">
&nbsp;
</td><td valign="top"><p>You can create a static web project from any perspective.</p></td></tr><tr><td align="right" valign="top">
&nbsp;
</td><td valign="top"><OL>
<LI>
<P>
From any perspective, click
<B>File &gt; New &gt; Project</B>
...
</P>
</LI>
<LI>
<P>
In the New Project wizard page, expand Web, and select Simple Web
Project
</P>
</LI>
<LI>
<P>Click Next.</P>
<BR>
<IMG border="0" src="images/staticWebProject1.PNG">
</LI>
<LI>
<P>
Enter StaticWebProject1 into Project Name field, and click
Finish.
</P>
<IMG border="0" src="images/staticWebProject2.PNG">
</LI>
</OL></td></tr><tr><td align="right" valign="top"><img src="../../../../../images/Adarrow.gif" border="0" height="16" width="16"></td><td>
<B>Creating a Dynamic Web project</B>
</td></tr><tr><td align="right" valign="top">
&nbsp;
</td><td valign="top"><OL>
<LI>
<P>
From any perspective, click
<B>File &gt; New &gt; Project</B>
...
</P>
</LI>
<LI>
<P>
In the New Project wizard page, expand Web, and select J2EE Web
Project
</P>
</LI>
<LI>
<P>Click Next.</P>
<IMG border="0" src="images/staticWebProject3.PNG">
</LI>
<LI>
<P>Enter DynamicWebProject1 into Project Name field.</P>
<IMG border="0" src="images/staticWebProject4.PNG">
</LI>
<LI>
<P>
Click the button New... for Target server, and in New Server
Runtime wizard page, expand Basic, and select J2EE Runtime
Library.
</P>
</LI>
<LI>
<P>Click Next.</P>
<IMG border="0" src="images/staticWebProject5.PNG">
</LI>
<LI>
<P>
Click Browse... button for Location, and point to your J2EE
runtime directory in your file system, and click Finish.
</P>
<IMG border="0" src="images/staticWebProject6.PNG">
</LI>
<LI>
<P>Click Finish on Dynamic Web Project wizard page.</P>
</LI>
</OL></td></tr></tbody></table></body></html>