Hi Mukesh,
1. put the HelloWorldExample.java file in the folder:
        jswdk-1.0.1/webpages/Web-inf/servlets/
compile it or if u have its class file, put it in this directory.
2. in the "Web-inf" directory u shall find the file "servlets.properties".
in it add the following line:
        hello.code=HelloWorldExample
3.in the same folder u shall also find the file "mappings.properties". in
it add the following line:
        /hi=hello
4.now from the jswdk-1.0.1 folder & its subfolders copy the following
files:
        webserver.jar
        servlet.jar
        xml.jar
        jsp.jar
paste these files in the folder:
        jdk2.1/jre/lib/ext/
5. in your Autoexec.bat file make sure u have given the paths of these jar
files.
6. once this is done then your settings are done. you can double-click on
the Autoexec.bat so as to bring the changes in effect. and then
doubleclick on the startserver.bat file in your jswdk folder.
7. once your server starts, open the explorer/ browser and give the
following address in the location bar;
        http://localhost:8080/hi
This should start your application.

For more enlightenment read thro the webserver.xml file... it helps

-Amit

On Wed, 19 Jan 2000, Mukesh wrote:

> I tried a lot to execute HelloWorldExample servelet using JSWK1.0.1 kit,
>
> but all in vain.
> I tried following URLs
> http://localhost/127.0.0.1:8080/Web-inf/servelets/HelloWorldExample
> http://localhost/127.0.0.1:8080/HelloWorldExample
> http://127.0.0.1:8080/Web-inf/servelets/HelloWorldExample
> http://localhost:8080/Web-inf/servelets/HelloWorldExample
> When I started server using startserver.bat file, the following message
> is flashed by the server
> endpoint created at localhost/127.0.01:8080
> please help any body.
> Thanks.
> Mukesh
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to