Hey!
If I am guessing what you are doing is correct, can I suggest you
redesign.
How big is that JApplet? Big, I'll bet.
Why not do it the other way. Load the JApplet and then get what you
need for parameters for the JApplet by making a request to your servlet.
It works all of the time for me and I pull accross some pretty hefty
JApplets.
It's as simple as ramma lamma ding dong.
Sans adieu,
Danny Rubis
Vandan Juvekar wrote:
> 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 application2. 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.
___________________________________________________________________________
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