Re: Hot deploy in Tomcat4 and Tomcat5

2003-11-12 Thread Nguyen Anh Tuan
Hi, Chris, Thank you very much for your help. It works now. I am not aware of the change, because in the real work, I deploy my apps outside of Tomcat, so I have to do all the configurations, mappings ... But today I am just lazy, and try to deploy it inside Tomcat to play, and get trouble :-) Th

Re: Hot deploy in Tomcat4 and Tomcat5

2003-11-12 Thread Nguyen Anh Tuan
Hi, I try to deploy the example attached with this mail in the folder /webaaps. This is a deployment in appBase directory of Tomcat, and requires no further configuration. It is a sample from a book. It can be run like this: http://localhost:8080/chapter04/login.html Then you can input username an

Hot deploy in Tomcat4 and Tomcat5

2003-11-12 Thread Nguyen Anh Tuan
Hi, I try to deploy the example attached with this mail in the folder /webaaps. This is a deployment in appBase directory of Tomcat, and requires no further configuration. It is a sample from a book. It can be run like this: http://localhost:8080/chapter04/login.html Then you can input username an

RE: [OT] but IMPORTANT

2003-08-28 Thread Nguyen Anh Tuan
I think the European Commission invented this stupid idea when they were drunk. However, those stupid people might be bribed by Bill Gates to do so. I can't believe that those primitive animals like people in the European Commission still exist in the 21st Century. --- Stuart MacPherson <[EMAIL

RE: Re OT: Java/JSP vs C#/.NET

2003-08-28 Thread Nguyen Anh Tuan
A good developer never thinks much about tools. Prejudice is bad for innovation. It depends on purposes of the applications and working conditions to choose tools to be used. --- "David C. Rogers" <[EMAIL PROTECTED]> wrote: > I think im pretty much done with JSP...tags and all. > I think the futur

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread Nguyen Anh Tuan
t; request for the JSP. > Apache will receive one request for the > JSP/servlet, which will be > routed to Tomcat. If the HTML output of the > JSP/servlet includes an IMG > tag, then Apache will receive a second request for > the image. 1 + 1 = 2. > > John > >

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread Nguyen Anh Tuan
you can send JSP/Servlet requests directly to Tomcat if you use Tomcat stand alone. --- John Turner <[EMAIL PROTECTED]> wrote: > > servelet = one request > > image = one request > > 1 + 1 = 2 requests > > John > > Nguyen Anh Tuan wrote: > > > No

Re: performance of serving static data? apache or tomcat

2003-07-25 Thread Nguyen Anh Tuan
No, there is only one request that is sent from browser to Apache. Apache will reroute the request to Tomcat as needed. So what you are using now is the best configuration. --- [EMAIL PROTECTED] wrote: > I am working on a servlet that will be served from > tomcat which is > connected to apache. C

Re: [FileUpload]

2003-07-24 Thread Nguyen Anh Tuan
You can do like this : If user upload a too big file, you can display a JSP file that does following things: - says that the file is too big - provides a link back to the upload file with the value of text field set to the uploading file. Or you must use rewrite URL technique. Either cases, your u

Re: Apache Apache 2.0.46 - Tomcat 4.1.18

2003-07-01 Thread Nguyen Anh Tuan
2003 23:49:06 -0700 (PDT), Nguyen Anh > Tuan > <[EMAIL PROTECTED]> wrote: > > > Hi, > > I try to setup Apache-Tomcat using Apache Apache > > 2.0.46, Tomcat 4.1.18 and mod_jk2-2.0.43.dll (JK2 > > connector), and whenever I try to browse to any > JSP > &

Apache Apache 2.0.46 - Tomcat 4.1.18

2003-07-01 Thread Nguyen Anh Tuan
Hi, I try to setup Apache-Tomcat using Apache Apache 2.0.46, Tomcat 4.1.18 and mod_jk2-2.0.43.dll (JK2 connector), and whenever I try to browse to any JSP page, I get this error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your requ

Apache Apache 2.0.46 - Tomcat 4.1.18

2003-06-30 Thread Nguyen Anh Tuan
Hi, I try to setup Apache-Tomcat using Apache Apache 2.0.46, Tomcat 4.1.18 and mod_jk2-2.0.43.dll (JK2 connector), and whenever I try to browse to any JSP page, I get this error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your requ