| <?xml version="1.0" encoding="UTF-8"?> |
| <?xml-stylesheet type="text/xsl" href="../../../../wtp.xsl"?> |
| <html> |
| <head> |
| <meta |
| name="root" |
| content="../../../../.." /> |
| <title>Creating a Web project</title> |
| </head> |
| <body> |
| <h1>jst j2ee</h1> |
| <h2>Intoduction</h2> |
| <p> |
| This test case walkthroughs the steps required to create web projects in |
| WTP. |
| </p> |
| <br /> |
| |
| <h2>Steps</h2> |
| <h3> |
| <B>Creating a Static Web project</B> |
| </h3> |
| <p>You can create a static web project from any perspective.</p> |
| <OL> |
| <LI> |
| <P> |
| From any perspective, click |
| <B>File > New > 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> |
| |
| |
| <h3> |
| <B>Creating a Dynamic Web project</B> |
| </h3> |
| <OL> |
| <LI> |
| <P> |
| From any perspective, click |
| <B>File > New > 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> |
| </body> |
| </html> |