Hi,

If you create a new directory in C:\JSDK2.1\ called MyApp for example and in
it put the servlet java files where you can compile them.You also need a
Web-inf directory in MyApp and a servlet directory in Web-inf. In the
servlet dir, you put the .class files . In the web-inf directory you need a
servlets.properties file in which you add an entry like

<servletname>.code=<servletclass>
eg.MyApp.code=MyApp.

Then start your server using startserver.bat and reload the page in your
browser.

Regards
Barry


----- Original Message -----
From: Bo Xu <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 09, 2000 6:08 PM
Subject: about Automatic servlet reloading


> Hi,
>
> 1.
> when I use Java WEB Server 2.0,  I find it can "Automatic reload servlet",
so if
> I correct my servlet,  I only need to copy my new servlet into "folder
servlets",
> and the new servlet will run.
>
> 2. but from the README of jsdk2.1,  it seems that jsdk2.1 doesn't support
> "Automatic servlet reloading",  so now  if I want to "run" a new servlet,
I need to
>
> "stopserver", then "startserver" :-)     or "rename" my new servlet.
>
> So:
> could anybody tell me a simple way of how to "run a new servlet" in
jsdk2.1?
>
>
> Thanks in advance!
>
>
>
> Bo
> May 09,2000
>
>
___________________________________________________________________________
> 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