Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NetBeans cant find web pages folder

 
Ed Carrington
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the past I had no problems manually creating JSP/Servlets and classes using command line and notepad with no IDE using Tomcat 6.0.20. Now I am creating my first Web site with NetBeans 6.7 and want to start with just creating a JSP HelloWorld web page.

Here is what I selected in my attempt:
- File
- New Project
- Java Web
-Web Application

Project Location: C:\Program Files\apache-tomcat-6.0.20\webapps
Project Folder: C:\Program Files\apache-tomcat-6.0.20\webapps\HelloWorld

I then selected Java EE 5 for the Java EE version.

I dont want to use any frameworks so I hit the finish button.
After I hit the finish button I see the HelloWorld web application and right click on it to select Run.
It runs and then gives me the following message and eliminates the HelloWorld folder from the webapps folder:


I opened the properties and browsed to the web pages folder and still get same message.

Please advise.
 
Ninad Kulkarni
Ranch Hand
Posts: 802
Hibernate Linux Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where is your netbeans installed?
On installed location search for NetBeansProjects folder. In that folder you will find HelloWorld folder.
Add necessary files in folder then build using netbeans and then you can run your web application using run of netbeans.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic