My understanding of the JavaWebServer 2.0 directory structure is as follows.
...JavaWebServer/servlets - put all servlets in here
...JavaWebServer/classes - put beans and user defined classes in here
...JavaWebServer/public_html - put html and JSPs in here
The URL to access a servlet from a browser would be along the lines of:
http:\\machine_name:8080\servlet\servlet_name
I have only come across the WEB-INF path you mention when setting up Tomcat,
I don't think it is relevant to JWS.
Good luck!
----- Original Message -----
From: shivan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 11, 2000 11:20 AM
Subject: dirctories in JWS
> Hi,
>
> I have JWS installed. It has html files under
> ~/servlet directory. And I see in JWS the examples of
> servlets are put under WEB-INF/servlets/ directory.
> I can execute the examples given there.
>
> I can't understand the directory linkage there. Where
> I should put the html files and where the servlets
> java classes? Can anyone help?
>
> I have created a html file which is a form with 2 text
> fields and a submit button, say hello.html.
> This html file calls Hello servlet and outputs some
> dynamic data taken in the fields by hello.html. I put
> the html file under 'servlet' dir, and put the servlet
> class under 'servlets' dir. Is it right?
>
> When I say submit on my html page, the output is page
> not found.
>
> help appreciated.
>
>
>
>
>
>
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
>
___________________________________________________________________________
> 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