The servlet runner only serves servlets. It ignores requests for
anything else.
It was originally provided for easy testing of your servlets not as a
fully functional Web server.

Regards
Duncan


"S.A.Pamungkas" wrote:
>
> 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

--
***********************************
Duncan Reade
INFOPARTNERS S.A.
Tel    +352/ 40116-3303
Fax    +352/ 40116-2331
email  [EMAIL PROTECTED]
URL    http://www.infopartners.lu/
***********************************

___________________________________________________________________________
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