Servlet - How to get rid of index.jsp
843841Oct 26 2007 — edited Nov 5 2007Hi,
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.