Hi,
 
I have developed a web-application for intranet in which a swing applet is rendered from a servlet's doPost(). The doGet() of this servlet contains a form with post method and the form input is used for the JApplet parameters.
 
The problem is that after submitting the form, sometimes the browsers (both IE 5 and Netscape 4.6) simply don't show any HTML output and display DNS error (IE) or "connection reset by peer" error (Netscape). The problem persists for any indefinite number of repeated attempts of submitting the form.
 
I have searched the archives of this mailing list for this problem and found two solutions suggested by members :
1. Reduce HTML content of form - But this is impossible for my application
2. Catch the SocketException - But SocketException is not always thrown when this problem occurs, and I did catch it - but it also proved to be futile.
 
Interesting observations:
1. This problem occurs only when the client is on some machine other than the server. Moreover, the problem is not as frequent in Pentium-III,64 MB,Windows 98 clients as it is in Pentium-I,32MB,Windows 95 clients.
2. The problem occurs only for this servlet (which tries to show the JApplet). All other servlets' doPost() methods are working fine.
3. The problem does not occur always!
 
Any suggestions/ solutions, please?
 
---Vandan.

Reply via email to