Re: 回复: Java Applet can not communicate with Java Servlet

2013-04-30 Thread Christopher Schultz
Specification. It's quite readable. - -chris > 发件人: Christopher Schultz > 收件人: Tomcat Users List > 发送日期: 2013年4月29日, 星期一, 11:01 下午 主题: Re: > Java Applet can not communicate with Java Servlet > > > Peng, > > On 4/29/13 10:05 AM,

回复: Java Applet can not communicate with Java Servlet

2013-04-30 Thread qingtao peng
Have you any document for me to consult? 发件人: Christopher Schultz 收件人: Tomcat Users List 发送日期: 2013年4月29日, 星期一, 11:01 下午 主题: Re: Java Applet can not communicate with Java Servlet -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peng, On 4/29/13 10:05 AM

Re: Java Applet can not communicate with Java Servlet

2013-04-30 Thread Christopher Schultz
-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 al

RE: Java Applet can not communicate with Java Servlet

2013-04-29 Thread Caldarale, Charles R
> 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 COMMUN

Re: Java Applet can not communicate with Java Servlet

2013-04-29 Thread Christopher Schultz
-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

Re: Java Applet can not communicate with Java Servlet

2013-04-29 Thread André Warnier
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 wit

Re: Java Applet can not communicate with Java Servlet

2013-04-29 Thread André Warnier
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

Java Applet can not communicate with Java Servlet

2013-04-29 Thread qingtao peng
  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 : import java.awt.*; import java.applet.*; import java.awt.event.*; import java.io.*; import java.net.*; public cla