RE: Getting a request in a non English character

2004-04-25 Thread Yair Fine
Mark , Sorry for nagging you )-; but this is exacly what I did : //THE CLIENT: import java.io.*; import java.net.*; public class HttpClientHebrew5Test { public static void main(String[] args) { try { String host = "127.0.0.1"; String port = "8083";

Apache virtual host mapped to tomcat context

2004-04-25 Thread Davide Baroncelli
Hello, I am trying to setup apache virtual hosts mapped to tomcat contexts using apache 2.0, jk2 and tomcat 5. Everything in the connection apache-jk2-tomcat seems to work fine, except for the fact it seems I'm not able to configure apache virtual hosts mapped to particular tomcat contexts. What

Re: Getting a request in a non English character

2004-04-25 Thread Paul Gregoire
This article may shed some light on your problem.. http://www.javaworld.com/javaworld/jw-04-2004/jw-0419-multibytes.html? Mark Thomas wrote: Try specifying the encoding in your client as as "windows-1255" Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: Getting a request in a non English character

2004-04-25 Thread Mark Thomas
Try specifying the encoding in your client as as "windows-1255" Mark > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Sunday, April 25, 2004 6:28 PM > To: [EMAIL PROTECTED] > Subject: RE: Getting a request in a non English character > > Mark, > Your clie

Re: Fw: new apps won't deploy, not sure what's going on

2004-04-25 Thread Wade Chandler
Jonathan R. Myers wrote: OK, I get this message: No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server, followed by a Tomcat restart. If using

RE: Getting a request in a non English character

2004-04-25 Thread yair . fine
Mark, Your client and servlet works!! Thanks. Now I have only one request, I tried to modify the client, that instead of preparing a predefined line: String data = "name=" + URLEncoder.encode("\u05d9\u05d0\u05d9\u05e8", "cp1255"); The client will read a file that is written in a windows -1255 enco

Re: Fw: new apps won't deploy, not sure what's going on

2004-04-25 Thread Jacob Kjome
Are you running as a service? If so, try running running with the startup script. The default "service.bat" doesn't add tools.jar to the "ImagePath". You will need to do this in order for JSP's to be compiled. The examples run because they are all pre-compiled and mapped as servlets. I don

RE: Getting a request in a non English character

2004-04-25 Thread Mark Thomas
Got this working. Mainly just the issue of the encoding that was being used for the response from the servlet. You need to be careful with the names of the encoding as they can differ between operating systems. My recommendation would be to always use UTF-8. My version of your servlet and client ar

Fw: new apps won't deploy, not sure what's going on

2004-04-25 Thread Jonathan R. Myers
OK, I get this message: No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server, followed by a Tomcat restart. If using an alternate Java compi

Re: Re: Bean's problem

2004-04-25 Thread QM
On Sun, Apr 25, 2004 at 12:57:53PM +0200, [EMAIL PROTECTED] wrote: : Yeah, I've changed my source code and add : package beanservlets; situation is the same. I'll assume the following: Tomcat sees the new, corrected .class file and not the old one (in WEB-INF/lib)

Re: jasper: out.write() for every tag

2004-04-25 Thread QM
On Sun, Apr 25, 2004 at 11:36:10AM +0200, Folke Behrens wrote: : AFAIK the javac and the jit compiler are both not allowed to optimize : this. So this must somewhat hurt performance, right? What does your profiler tell you? If you're adventurous, you could take the generated Java source and fold

RE: Sendng automatic email with tomcat

2004-04-25 Thread Schalk
Masood Drop me an email at [EMAIL PROTECTED] and I will send you some code. Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] we

Sendng automatic email with tomcat

2004-04-25 Thread Masood Reyhanei Hamedani
Dear all I have a registration webpage for a Mathematics seminar and I want to send an reply email for anyone that registers for it. I know that, I must using Javamail with tomcat, but how? Is there anyone to help me? with thanks. masood. -

Re: Re: Bean's problem

2004-04-25 Thread gnusw
Yeah, I've changed my source code and add package beanservlets; situation is the same. Really strange. With Tomcat 3.X i didnt have such a situations :/ Still fightin' n' still lookin' for your help Wojtek Użytkownik QM napisał: >On Fri, Apr 23, 2004 at 09:21:51AM +0200, Wojtek Gnus wrote: >: I\

Re: Your letter

2004-04-25 Thread tomcat-user
Your file is attached. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

jasper: out.write() for every tag

2004-04-25 Thread Folke Behrens
Hi! While browsing through the jsp cache I'd seen many out.write() for static strings in the Java files generated by Jasper. Infact every single HTML tag has its own out.write("\n"). Is there a way to tell Jasper to concatenate strings so that only one out.write() is generated? (one for every

Re: jsp-examples problem.....

2004-04-25 Thread Giuseppe Briotti
Precompiled JSP? G > == > Date: Sat, 24 Apr 2004 13:03:07 -0700 (PDT) > From: "Savitha 'n' Narahari" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: jsp-examples problem. > == > > Hello All: >   > JDK USED : 1.4.2 > TOMCAT USED : 5.0.1

Re: Connection pooling -- Hello Doug

2004-04-25 Thread Masood Reyhanei Hamedani
Hello Doug 1- My ROOt.xml doesn't have any error.That problem caused by wrong copy and paste. 2- I changed the order of Parameters in Resource tag but wasn't useful. 3- Look, I don't see any error message.When I check the number of connection in Mysqladmin, in 4.1.18 the number of connectio