Simply put the war into the appropriate folder of a running container. With Tomcat: webapps, with jboss: server/default/deploy with glassfish: glassfish/domains/domain1/autodeploy. The container will deploy it for you. R ----------------original message----------------- From: "p. stephen wille"
To: java-ee-j2ee-programming-with-passion@googlegroups.com Date: Mon, 14 Sep 2009 22:14:05 -0700 (PDT) ------------------------------------------------- > I wanted to proof my submitted homework, and spent the afternoon stumbling > across these steps to deploy a WAR. > These steps seem unnecessarily complicated, and would require the Web > developer to work the the SysAdmin to deploy, which is why I think I'm missing > something. My steps are outlined below: > > 1. Download and expand WAR into it's own folder. > 2. In Netbeans, create New Project. > 3. Select Java Web, then Web App with Existing Resources > 4. Change the context path to match original WAR'd project, in this case it's > 'hello2'. > 5. Assign 'Web Pages Folder' path. > 6. Ignore '...compiled class....' warning. > 7. Once Project is listed, select Project Properties=> Run, and add relative > URL for default page. In this case it's [/greeting]. > Anyone know of a better way? > > > > stephen wille | p.stephenwi...@yahoo.com > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---