Try

http://IP:PORT/servlet/SurveyServlet?...

rather than:

http://IP:PORT/SurveyServlet?...

If you are using JSDK <= 2.0

Cezar

On Thu, 11 Mar 1999, Rajeev Muralidharan wrote:

> hello,
>
> I have the following html source code:
>
> <body>
> This processes HTTP GET comands. The correct way to invoke
> this method is through http://whatever/survey?task=<i>foo</i> where foo
> is the task you want to perform.
> <p>Supported tasks:
> <ul>
> <li>
> <a
> href="http://ipaddress:port/SurveyServlet?task=<i>comments</i>"<tt>comments</tt>
> -- list the comments in the current comment file</a></li>
>
> <li>
> </body>
> ___________________________________________________________________________
> I am running the servlet on the machine with the ip address specified in my html
> file giving the right port number. I load the above given file in my browser,
> but when I click on comments and try to run the script in the doGet method of my
> servlet(SurveyServlet) based on the task parameter, I get the following error:
>
> 403 Forbidden
>
> Will not serve files, only servlets!!!!
> ___________________________________________________________________________
> Can anyone tell me what I am doing wrong here?


Cezar Totth                             email:  [EMAIL PROTECTED]
                                        Fax:    (401) 220 33 95
Genesys Software Romania                Phone:  (401) 638 49 44
Stefan Furtuna 169, sect.6
cod 77171, Bucharest
Romania

___________________________________________________________________________
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