-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Chuck,
On 4/29/13 11:20 AM, Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: Java Applet can not communicate with Java Servlet
The servlet spec says that all servlets need
qingtao peng wrote:
I have built the apache-tomcat-7.0.32 server on my computer.My operating
system is Windows7.I have written an Applet and compiled it .The source code
of the Applet is as follow :
...
This compiled Applet has been embedded in a HTML file named with DbApplet.htm.
The
André Warnier wrote:
qingtao peng wrote:
I have built the apache-tomcat-7.0.32 server on my computer.My
operating system is Windows7.I have written an Applet and compiled it
.The source code of the Applet is as follow :
...
This compiled Applet has been embedded in a HTML file named
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Peng,
On 4/29/13 10:05 AM, qingtao peng wrote:
uc.setRequestProperty(Content-type,application/xwww-form-urlencoded);
I
think you want:
application/x-www-form-urlencoded
res.setContentType(text/html;charset=GB2312);
Why not use UTF-8 like
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: Java Applet can not communicate with Java Servlet
The servlet spec says that all servlets need to be in a package.
No, it doesn't - but it's still a good idea.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL