Originally Posted by
rektiphyr
Hi all, I'm a very experienced java programmer, but just now staring on java web development. I'm using eclipse with glassfish and I'm currently just trying to set up a Servlet hello world. I've gotten the project created and it added index.jsp automatically. I ran it and added some java in <% %> tags which executed just fine. I've now written a HelloWorldServlet class and overridden processRequest() to print hello world to the page. However, I can't figure out how to have the Servlet executed when the app's url is visited (instead of index.jsp).
For example, currently
http://localhost:8080/helloworld executes index.jsp
I would like to modify the app to have my Servlet executed from that url instead.
Any guidance here would be greatly appreciated
Ok... have I misunderstood something? Is this not possible? Is my question not clear?