How to set encoding of JavaBean output on JSP?

2003-07-22 Thread Eric Leung
Hi, Tomcat 4.1.24 After some changes, I configured Tomcat to display GB2312 characters on JSP nicely. But the JavaBean output from the JSP scriptlet still showing rubbish characters. What should I change to fix this problem? Greatly appreciate for any suggestion Eric

Need help on upgrading Tomcat from 3.1 to 4.1.x

2003-07-15 Thread Eric Leung
Dear All Tomcat Users, I'm working on upgrading Tomcat from a very old version to 4.1.x Currently, we have a servlet being run at the start of the web (specified in web.xml ). But this servlet may have some objects obsoleted in ver 4.1.x. Does anyone know how should I change this servlet in

RE: Tomcat 3.3.1

2002-07-30 Thread Eric Leung
Did you look at the code : org.apache.jasper.runtime.JspWriterImpl is the flushBuffer present? Thomas Eric Leung wrote: Hi All, I'm upgrading an application written for tomcat 3.1.1 to 3.3.1. After fixing some bugs on using tomcat internal classes, I can startup the application in 3.3.1

Tomcat 3.3.1

2002-07-29 Thread Eric Leung
Hi All, I'm upgrading an application written for tomcat 3.1.1 to 3.3.1. After fixing some bugs on using tomcat internal classes, I can startup the application in 3.3.1 with the following message Using classpath: bin/../lib/tomcat.jar Using JAVA_HOME:

RE: default pageEncoding

2002-07-23 Thread Eric Leung
Hi, yes, just like HTML add a line like this: META HTTP-EQUIV=Content-Type Content=text/html; Charset=iso-8859-1 character set Eric Hello! Is it possible to set default pageEncoding for jsps? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

Question about upgrading Tomcat

2002-07-19 Thread Eric Leung
the org.apache.tomcat.core.Context and org.apache.tomcat.core.ServletContextFacade have been deprecated, do you know how should I modify the servlet to make it work in 3.2 or 3.3? Any suggestion, advice, comment, or pointers are greatly appreciated. Thanks, Eric Leung

RE: unsubscribe does not work

2002-07-19 Thread Eric Leung
Hi you should just send a empty mail to To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] -Original Message- From: Laurent Michenaud [mailto:[EMAIL PROTECTED]] Sent: Friday, July 19, 2002 5:36 PM To: [EMAIL PROTECTED] Subject: unsubscribe does not work I can't unsubscribe from this

RE: unsubscribe does not work

2002-07-19 Thread Eric Leung
== From: Laurent Michenaud [EMAIL PROTECTED] To: tomcat-user-uc.1027072067.lcbonmnbgecebniojnno-lmichenaud= [EMAIL PROTECTED] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N -Message d'origine- De : Eric Leung [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 19 juillet 2002 11:37 À

Re: acknowledgment from web client

2001-04-19 Thread eric leung
can download it again. Thanks. --- eric leung [EMAIL PROTECTED] wrote: Hi, I have a servlet serves files for web browser. How can I know if the HTTP web browser had: 1) finished download 100% of the file, or; 2) only downloaded 50% of the file then click cancel, or; 3) only downloaded 70

Re: mod_jk.so vs mod_jk.dll for Win32 and Apache 1.3.19

2001-04-15 Thread eric leung
I have the same doubt, i use 1.3.17. Why on win32 now, all module has .so ending? what i think is .so is for unix only. am i right? --- Ellis Teer [EMAIL PROTECTED] wrote: I currently use Apache1.3.14 + Tomcat 3.2.1 + mod_jk.dll on Win32. I recently tried to upgrade to Apache 1.3.19.  

Re: AddModule mod_jk.c

2001-04-15 Thread eric leung
thanks jeff, i had read this already, but i am still not very clear about difference between the 2. what i think is addmodule will add the module to the list. you can't use the module until you use the LoadModule command to load the module into memeory. you don't need to use AddModule before

Re: j_security_check

2001-04-14 Thread eric leung
i am using VPN. it works on normal network connection. is that matter? --- eric leung [EMAIL PROTECTED] wrote: Hi, i had set up Form authentication in tomcat. I used apache 1.3.17 + tomcat 3.2.1. And i added this line --- JkMount /update

Servlet -- SingleThreadModel

2001-04-12 Thread eric leung
I have a servlet implements the SingleThreadModel Interface. But this servlet has problem handle more than 1 request at a time. Since I have 1 person on host1 upload a big file ( 20MB ) to the servlet. When the 2nd person on host2 send a request to that servlet. The servlet will not response.

Re: Servlet -- SingleThreadModel

2001-04-12 Thread eric leung
into that class - then have the empty servlet "new" an instance and call the service method. This way you can use instance variables and the Multi-Threaded Model. eric leung wrote: I have a servlet implements the SingleThreadModel Interface. But this servlet has problem handle more than

j_security_check

2001-04-12 Thread eric leung
Hi, i had set up Form authentication in tomcat. I used apache 1.3.17 + tomcat 3.2.1. And i added this line --- JkMount /update/j_security_check Ajp12 --- to mod_jk.conf, which will forward all the