blob: e21c834a985cdd9a98b336402d6a700bfc81c63b [file] [log] [blame]
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../../../../../default_style.css" type="text/css">
<link rel="stylesheet" href="../../../../../webtools/wtp.css" type="text/css">
<title>Creating a Web project</title>
</head>
<body>
<table width="100%" cellspacing="5" cellpadding="2" border="0">
<tbody>
<tr>
<td width="60%" align="left"><font class="indextop">jst j2ee</font>
<br>
<font class="indexsub">Creating a Web project</font></td><td width="40%"><img width="207" hspace="50" height="129" align="middle" src="../../../../../webtools/images/wtplogosmall.jpg"></td>
</tr>
</tbody>
</table>
<table width="100%" cellspacing="5" cellpadding="2" border="0">
<col width="16">
<col width="*">
<tbody>
<tr>
<td valign="top" bgcolor="#0080c0" align="left" colspan="2"><b><font face="Arial,Helvetica" color="#ffffff">Intoduction</font></b></td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>
This test case walkthroughs the steps required to create web projects in
WTP.
</p>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<br>
</td>
</tr>
<tr>
<td valign="top" bgcolor="#0080c0" align="left" colspan="2"><b><font face="Arial,Helvetica" color="#ffffff">Steps</font></b></td>
</tr>
<tr>
<td valign="top" align="right"><img width="16" height="16" border="0" src="../../../../../images/Adarrow.gif"></td><td>
<B>Creating a Static Web project</B>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>You can create a static web project from any perspective.</p>
</td>
</tr>
<tr>
<td valign="top" align="right">&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 valign="top" align="right"><img width="16" height="16" border="0" src="../../../../../images/Adarrow.gif"></td><td>
<B>Creating a Dynamic Web project</B>
</td>
</tr>
<tr>
<td valign="top" align="right">&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>