Hi Carouna and list
Thanks for reply. I edit servlet as you recommend, but still recieve
Netscape: Error A network error occurred while Netscape was receiving data.
(Network Error:Connection reset by peer) Try connection again..
the servlets are:
home(a form including a submit button),
matching_item(a table display response to the request from home page, each
row of the table has a detail button and a rate button),
details(invoked by detail button on the matching_item servlet, including
image, text message and the rate button so that the usr can go to the rates
page from here),
rates(a table invoked by the rate button from details or matching_item
servlets, each row of the table has a bookit button),
booking_form(a form invoked by bookit button from rates servlet)
It's strange that I can invoke the rates table without error by pressing the
rate button on the matching_item table but receive error after pressing the
rate button on the details page.
And error message when invoke the booking_form servlet. The form can be
totally displayed sometimes but the error still there.
Really get confused by this problem.:(
Any instruction is highly appreciated.
I'm using Servlet 2.0, jdk1.2.2 and Apache JServ1.0 on Linux i386.
thanks
yang
>From: carouna ranjin <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Connection reset by peer
>Date: Fri, 18 Feb 2000 11:22:48 GMT
>
>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
______________________________________________________
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