This one should help as well
http://www.javapassion.com
Main Topics
Browse All TopicsHi
I'm trying to run a simple Java Web Application on netbeans.
Every time I try to run my project, the project folder is deleted and Tomcat (obviously) cannot find anything to run!
Someone on this site was talking about wrong deploying and building folder... but I cannot find anything to modify on Netbeans IDE to make things works!
I tried to execute my script directly from my web browser, once I called a "Clean and Build" command on NetBeans.
If I do that, something is shown.. but another problem comes out!
The partially working code is located into [TOMCAT]/webapps/firstJSP/
The problem is easily solved if I copy all files from [TOMCAT]/webapps/firstJSP/
But I have to do it manually every time I modify and re-build my project!! It's not tollerable!
So I'm asking you: "How can I build (and then deploy) correctly my files, so that the results is written directly on the context root [TOMCAT]/webapps/firstJSP/
I'm absolutely sure that I'm doing things in a wrong way (I'm very new to JSP programming!!), so I need your help to go on!
---
I have to add something new.
I tried to make another project, setting [TOMCAT]/NewDir/WebApplica
Thank you!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
This one should help as well
http://www.javapassion.com
Business Accounts
Answer for Membership
by: rama_krishna580Posted on 2009-08-18 at 14:21:41ID: 25127818
look at here it might help you... /60/web/qu ickstart-w ebapps.htm l om/tutoria ls/ netbean s61tomcatc onf.jsp eploymentO nExternalT omcatforNB 6
http://www.netbeans.org/kb
http://www.theasolutions.c
http://wiki.netbeans.org/D
R.K