Hi Mark,

Normally the user is the one who enters the address in his browser
(either by keying in or by clicking some link). When working with
NetBeans, one can define as one of the project properties, which URL
do load for the Run action.
For the hello2 project, this has already been defined for you. In the
projects that you'll create in the future you'll probably have to
define it by yourself.
Access this definition from within NetBeans by right clicking the
project name (from the Projects view) and selection of Properties.
Wait a while (NetBeans is very slow at the beginning) and then select
the Run category.

Yalon

On Feb 6, 4:18 am, Mark Shen <markshen2...@gmail.com> wrote:
> Hi,
>
> hello2 project have two servlets(GreetingServlet.java and
> ResponseServlet.java).
>
> I wonder how the application know which servlet first show when we run the
> application.
>
> I check web.xml but I do not see any settings for this.Please help.
>
> Mark

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to