The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

An Example of servlet URL...

Posted by Kishori Sharan on December 12, 2000 at 4:45 PM

Your URL will look like
http://host/servlet/your_servlet_name
The word servlet will be as it is after host/. Suppose you have created a servlet Si.java and compiled it then your URL will be
http://host/servlet/Si
In the above case I have assumed you haven't put your servlet Si.java in any package. If you put your servlet in a package then you can add the full path and a name which you will be using for your servlet in URL using administration tools of JavaWebserver.

Thanx
Kishori






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us