Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java Servlet URL Mapping

823177Feb 25 2011 — edited Mar 5 2011
Hello to all, i fairly new to java servlet.

Please forgive me if this question seems stupid.

I have add servlet mapping such as servlet class and url pattern using netbeans in web.xml servlet tab but when the application was running it does not direct go into the target url which is http://localhost:8080/HelloDuke2/greeting but
http://localhost:8080/HelloDuke2/

What am i missing in the configuration ?

How to set the start up url to http://localhost:8080/HelloDuke2/greeting ?


Please help.

Thanks.

Edited by: peterwkc on Feb 25, 2011 11:40 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2011
Added on Feb 25 2011
3 comments
633 views