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's name) in the Relative
URL field.

 

Regards,

Moria.

 

________________________________

From: java-ee-j2ee-programming-with-passion@googlegroups.com
[mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On
Behalf Of peeter brunch
Sent: Thursday, October 08, 2009 2:30 AM
To: j2ee passion
Subject: [java ee programming] Servlet run order

 

Hi,
 
When right click the Hello2 project node and select the Run command from
NetBean IDE. How does the system knows it was the Greeting servlet that
is the first servlet to be run? If I want some other default servlet to
be run instead of the Greeting servlet, how such control can be
accomplished?
 
Thanks.
 
Regards,
Peeter  

________________________________

Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up
now. <http://clk.atdmt.com/GBL/go/171222985/direct/01/> 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to