Hi Benny!
Btw, you've not mentioned which web server are you using. This one is specific
to Java Web Server 2.0.
If you are using <servlet> tag within your html page (which has to be saved as
.shtml), put the .shtml page in <public_html> subdirectory of <server_root>.
Even otherwise, .html page is also put in <public_html>.
The class files are to be put in <classes> and <servlets> subdirectory of
<server_root>.
This is what I've set the classpath as:
set CLASSPATH=D:\javawserver\lib\servlet.jar;.;%CLASSPATH%
set
PATH=%PATH%;D:\javawserver\native_lib\;c:\jdk1.2.1\bin\;D:\javawserver\servlets\;
Refer: Java Servlet Programming by Jason Hunter (O'Reilly) for detailed
coverage of Servlets.
Hope that helps you.
Bye,
Manish Bhatnagar
Benny Mathew wrote:
> Hi All
> I am new to JSP and Servlet programming....
> I have downloaded the JavaServer Web Development Kit (JSWDK) 1.0.1
> Can somebody tell me where I have to put my html, jsp and servlet files to
> work, and what other environment variables do I have to set...
>
> Please help me as I don't know anybody who is into this.
> Regards
> ����� M�th�w
>
> ___________________________________________________________________________
> 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
--
Obstacles are things a person sees when he takes his eyes off his goal.
-E. Joseph Cossman
___________________________________________________________________________
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