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:

launch servlets from webpage in JWS

Posted by Mark on December 10, 2001 at 6:02 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

Hello, I've done it as above descripted (and also registred and loaded the servlet in Admin Tools), but I'm not capable to launch the servlet from a web page (with relative form) because when I try to charge page at http://127.0.0.1:8080/pagename.html my browser says me that required web page doesn't exist... which is my error? please help me!
Thanks.






Replies:

Sponsored Links



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