Install the JWS 2.0 into particular directory.
set the classpath to <JWS root directory>\lib\jws.jar
and set classpath to lib and jre directories.
copy tool.jar to lib directory. (classpath also).
Restart the computer.
start the Java Web Server.

On NT it starts automaticaly.

now start Navigator.
give URL
http://localhost:8080/
you should get "CONGRATULATIONS" on your screen

that means that your server is properly installed.

now
you can configure or see contents of server by
http://localhost:9090/

Now,

compile your java servlet and put it into
<JWS root dir>/servlets/sunexamples.
remember not to forget
add
package sunexamples;
in each of your servlet.

for invoking the servlet write HTML
file and invoke servlet into through
action command of FORM.

example:
<form action=http://localhost:8080/servlet/sunexamples.<file name> >





OVER ...


"mr. 7up" wrote:

> Hi all ..........
> I am a new user of servlet.
> And I dont know how to set up or what kind of file that i must change,
> when i want to invoke my servlet.
> For example i want to invoke my servlet in URL :
> http://yulyanto:8080/servlet/StudentDBServlet
>
> Thanks all.
>
> ___________________________________________________________________________
> 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
begin:vcard
n:Gheewala;Paresh M
tel;pager:***
tel;cell:***
tel;fax:+91-020-603919
tel;home:+91-020-4355284
tel;work:+91-020-636028
x-mozilla-html:FALSE
url:http://www.versaware.com
org:Versaware Technologies (I) Pvt. Ltd.;Programming (R&D)
version:2.1
email;internet:[EMAIL PROTECTED]
title:Contact For Paresh M Gheewala
adr;quoted-printable:;;Flat C2,"Krishna Gardens", Survey No 15,=0D=0AManik Baug,=0D=0AHingne Khurd,=0D=0APune - 411 051.;Pune;Maharastra;411 051;India
fn:Paresh M Gheewala
end:vcard

Reply via email to