The JSDK 2.0 is an obsolete servlet development tool
and is limited to only serving servlets - that's why you get
the error. You should try using Tomcat instead, which
replaces JSDK, and is available from http://jakarta.apache.org/
It is more complicated to setup - I would encourage you
to read the Sun Servlet 2.2 spec and the J2EE Blueprint
to get some background on WAR files.
Have fun!
Peter Booth
----- Original Message -----
From: "S.A.Pamungkas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 01, 2000 3:20 AM
Subject: will not serve files, only servlet
> I'm using JSDK2.0.
> Putting the html file in the same directory with the
> servlet file. For example : /home/me/SERVLETDIR/
> Then running the servlet runner from that directory.
>
> When I run servlet file from browser, for example by
> typing http://localhost:8080/servlet/myservlet,
> servlet working good.
> But when I try to run the html or applet file from
> browser, for example by typing :
> http://localhost:8080/myservlet.html, there was an
> error like this :
> " 403 Forbidden
> Will not serve files, only servlets "
>
> Please somebody help me.
> Thankyou in advance.
>
> - pamungkas-
>
> __________________________________________________
> Do You Yahoo!?
> Kick off your party with Yahoo! Invites.
> http://invites.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