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 - How to get rid of index.jsp

843841Oct 26 2007 — edited Nov 5 2007
Hi,
I have a servlet that accesses a MySQL database. It works fine, the correct page comes up in IE as long as I compile/run the code on its own (right click on the code, compile & run it). But when i run the whole application in Netbeans (choosing run main project as oppose to run file), the page displayed is the index.jsp (which just says "JSP Page").

Deleting the index.jsp doesn't change anything as it is created again during compilation.

Would anyone please tell me how I could change this so that my result from my code is displayed all the time instead of the .jsp file?

Thanks very much in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 3 2007
Added on Oct 26 2007
7 comments
677 views