[java ee programming] Re: Servlet run order

2009-10-08 Thread Moria Shebsovich
Hello, This is very well explained in lab 4001 in paragraph (1.4) Add a Servlet to the application. Go through screens and you will see that you can manage what should run first with right click on your project, select Properties->Run and set name on needed file (in our case default servlet

[java ee programming] Re: Servlet run order

2009-10-08 Thread Mihai DINCA
Hi, When you execute in the browser "http://localhost:8080/Hello2";, the server looks for a "welcome page" defined in the "web.xml" file (see "Pages" folder or "" xml entry). When you execute the application by RUNning the project from NetBeans, it may actually start by default the browser with