Hi Xiao,
i think u r using jswdk 2.0 instead of encoding it as url just give
the path as sting like this
out.println("<form action=\"/servlet/rates\" method=\"post\"
target=body name=\"rates_form\">");
it will work fine.
after u made this change and u r still getting the error check u'r
network permissions
regards,
R.karuna
>From: Yang XIAO <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Connection reset by peer
>Date: Thu, 17 Feb 2000 12:02:07 GMT
>
>Hi, list
>
>I do need help on this:
>
>when I invoke a servlet through
>
>out.println("<form action=\"" + response.encodeUrl("/servlet/rates") + "\"
>method=\"post\" target=body name=\"rates_form\">");
>
>in a servlet, I keep receive following Error
>
>Netscape: Error
>A network error occurred while Netscape was receiving data. (Network Error:
>Connection reset by peer) Try connection again.
>
>Can anyone tell me where the fault might be?
>
>thanks in advance
>yang
>
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.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
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.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