Hi,
To invoke a servlet, you need to put your servlet, file.class in your case
in a test/WEB-INF/classes. The web container can invoke *.class in that
directory. You don't need to create a separate directory /test/servlet,
but your address will show http:localhost:8080/test/servlet/file
Regards,
> Hi All,
>
> I am having a problem of invoking the servlet .class
> file..
>
> javawebserver2.0
>
> i made a directory called test
>
> i made test as rootdirectory which i configured in the
> javawebserver2.0 admin wizard.
>
> now my test directory contains two directories.
> html and servlets as its subdirectories
>
> index.htm is a file placed in html directory
> file.class is a servlet program placed in servlets
> directory of my test directory
>
> this index.htm file when clicked the submit should
> invoke the file.class servlet which is in servlets
> directory..
>
> by the url:
> "http://localhost:8080/test/servlet/file"
>
> please help me how should i configure the webserver to
> invoke the servlet using the above url.
>
> Thanks in advance..
>
> regards
> boppana
>