File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes NetBeans cant find web pages folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "NetBeans cant find web pages folder" Watch "NetBeans cant find web pages folder" New topic

NetBeans cant find web pages folder

Ed Carrington
Ranch Hand

Joined: Oct 11, 2007
Posts: 77
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

Joined: Aug 31, 2007
Posts: 802

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.

SCJP 5.0 - JavaRanch FAQ - Java Beginners FAQ - SCJP FAQ - SCJP Mock Tests - Tutorial - JavaSE7 - JavaEE6 -Generics FAQ - JLS - JVM Spec - Java FAQs - Smart Questions
subject: NetBeans cant find web pages folder
It's not a secret anymore!