Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Servlet Classpath in NetBeans IDE

843842Jun 3 2010 — edited Jun 3 2010
First of all, don't know if it's the right section.
BTW I'm trying to code a servlet that handles an XML file.
I'm on Windows using NetBeans 6.9 Beta and the embedded Tomcat Web Server. I've two main questions:

1. Why NetBeans searching for XML file in:
C:\Programmi\Apache Software Foundation\Apache Tomcat 6.0.26\bin
I need the IDE to search my own folder "xml" inside the web application context.
I'm getting a NPE for this.

2. Is NetBeans testing every servlet code when you start (I mean when you "play" that) a project? I'm gettin the same NPE,
just starting the index.jsp, without calling the above servlet.

Many thanks for the attention and sorry for my english.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 1 2010
Added on Jun 3 2010
2 comments
213 views