Re: UTF-8 headers and JSP included files

2006-06-21 Thread Seak, Teng-Fong
Mark Thomas wrote: Dariusz Wojtas wrote: Any hints how to get rid of these extra FFFE chars? My included files need to be UTF-8 encoded. Use a text editor that doesn't insert these characters automatically. Mark Yup, for example, Eclipse (version 3 or higher). It is actually bad n

Re: How to make Axis use Tomcat's compiler?

2006-06-16 Thread Seak, Teng-Fong
Still no answer? Seak, Teng-Fong wrote: Hello everybody, I don't know if this post would be considered off-topic, or maybe I should cross-post it since it's about Axis and Tomcat. I'm trying to use Web service in Tomcat, ie with Axis. I've read and followed t

Re: mod_jk - querystring

2006-06-09 Thread Seak, Teng-Fong
Arnar Gestsson wrote: Hi, I have a setup of Apache2.0.54, mod_jk1.2.15 and tomcat 4.1.31 and I'm requesting page with a long querystring, as soon as it becomes longer than 3200chars the application seems to break. I've somewhere seen that querystring can be upto 8K Actually, there's no l

Re: Tray Icon

2006-06-06 Thread Seak, Teng-Fong
Since he's in Windows platform, it's easier to use "Monitor Tomcat" shortcut in "Start menu" (Start > All Programs > Apache Tomcat > Monitor Tomcat) Richard Mundell wrote: Mark, If you close the icon you can simply re-run the monitoring application: $CATALINA_ROOT/bin/tomcat5w.exe. Richar

How to make Axis use Tomcat's compiler?

2006-06-02 Thread Seak, Teng-Fong
Hello everybody, I don't know if this post would be considered off-topic, or maybe I should cross-post it since it's about Axis and Tomcat. I'm trying to use Web service in Tomcat, ie with Axis. I've read and followed the install guide and user guide: http://ws.apache.org/axis/java/in

Re: Fw: JAVAHOME

2006-05-04 Thread Seak, Teng-Fong
But I think Tomcat doesn't need JDK. Instead, it needs a JRE to which JAVA_HOME, if specified, is pointing. OTOH, from 1.4.? in windows platform, JAVA_HOME is no more declared as environment variable but is read from registry, as stated by Marc. Marc Farrow wrote: Also, depending on the T

Re: percent sign in URI

2006-02-01 Thread Seak, Teng-Fong
I'm not sure "properly" is the correct word to use in your situation. Doing things based on bug is always a big risk. If one day Apache corrects this bug, your customer will have a great pain in the *ss! abdurrahman sahin wrote: hi David; I am aware of the case. As I stated before Apache

Re: Question reg. setting the environment variable

2006-01-13 Thread Seak, Teng-Fong
gupta vidhi wrote: hello, i'd installed jdk-1_5_0_02-windows-i586-p-iftw and jakarta-tomcat-4.1.31 on desktop.but unable to set its required path.i request u to kindly help me out for the same and starting my Tomcat. You might find my answer irrelevant, but why are you still using Tomc

Re: Frames in JSP.

2006-01-11 Thread Seak, Teng-Fong
[EMAIL PROTECTED] wrote: Dear All, I have a JSP like the following . . . . First of all, and tags are mutually exclusive: http://www.w3.org/TR/1999/REC-html401-199912

Re: How to make a redirector?

2005-12-20 Thread Seak, Teng-Fong
Caldarale, Charles R wrote: From: Seak, Teng-Fong [mailto:[EMAIL PROTECTED] Subject: How to make a redirector? I've seen some URL which contains two URL's, something like http://www.siteA.com/x/http://www.siteB.com/some/path/here/ Are you sure you're not m

Re: how are relative pages/images retrieved?

2005-12-20 Thread Seak, Teng-Fong
Caldarale, Charles R wrote: From: hanasaki [mailto:[EMAIL PROTECTED] Subject: how are relative pages/images retrieved? the page http://localhost/a/b/c has an href to ../images/image1.gif how is it that the websever knows to convert this into http://localhost/a/b/images

Re: Multilingual usernames and passwords does not works.

2005-12-15 Thread Seak, Teng-Fong
If I were you, I'd use Tomcat 5.5. No, I don't know if your i18n problem is related to version, but using the latest version could avoid other not so obvious problems. As mentioned by other, your encType is wrongly used. It's for MIME-TYPE. And you don't need to specify acceptCharset

Re: encoding error

2005-12-12 Thread Seak, Teng-Fong
ing error I saw this in opencms configuration. Where do I have to do this? -- Forwarded message -- From: Seak, Teng-Fong <[EMAIL PROTECTED]> Date: Dec 12, 2005 11:03 AM Subject: Re: encoding error To: Tomcat Users List Is it a good idea to specify this parameter in Tomcat st

Re: encoding error

2005-12-12 Thread Seak, Teng-Fong
Nowhere! Or more exactly, it depends on what you want to do, or what's wrong when it's not used. Mª Carmen Gómez Romero wrote: I saw this in opencms configuration. Where do I have to do this? -- Forwarded message ------ From: Seak, Teng-Fong <[EMAIL PROTECTED]&

Re: encoding error

2005-12-12 Thread Seak, Teng-Fong
Is it a good idea to specify this parameter in Tomcat startup? Where did you read that you have to do so? Or who told you to do so? Regards, Seak Mª Carmen Gómez Romero wrote: Hi, I have a server with Apache 2.0 + Tomcat 5.0 I have a problem because sometimes seem the charset ch

Re: What's the difference between .zip and .exe from download site?

2005-12-09 Thread Seak, Teng-Fong
Caldarale, Charles R wrote: From: Seak, Teng-Fong [mailto:[EMAIL PROTECTED] I only knew that those batches/scripts are mostly for startup and shutdown tomcat. Which files could help debugging easier? Frequently, there's output in the console window that is quite useful

Re: Internationalization Problem with Tomcat 5.5.9

2005-12-09 Thread Seak, Teng-Fong
t in the browser with Tomcat 4. But its always set to ISO-8859-1 with Tomcat 5 and thats why are displayed. Is there anything that has changed with respect to usage of 18n taglibrary with Tomcat 5? Regards, Bob On 12/6/05, Seak, Teng-Fong <[EMAIL PROTECTED]> wrote: IMO, it

Re: What's the difference between .zip and .exe from download site?

2005-12-07 Thread Seak, Teng-Fong
Exactly! I've used the zip version once or twice and I found the exe version a much better one. And that's why I wonder what "debugging easiness" one could help with the scripts. Karthik wrote: Hi The exe version installs a auto service automatically on windows system during intallat

Re: What's the difference between .zip and .exe from download site?

2005-12-07 Thread Seak, Teng-Fong
Caldarale, Charles R wrote: From: David Chen [mailto:[EMAIL PROTECTED] Subject: What's the difference between .zip and .exe from download site? So, then what is that .zip download for? In which scenarios we should use .zip instead of .exe to install TomCat on Windows system? First o

Re: Internationalization Problem with Tomcat 5.5.9

2005-12-06 Thread Seak, Teng-Fong
IMO, it's quite possible that your webapp were relying on bugs in previous version. So, you have to make sure you're jsp pages are following standards. The obvious reasons that I could think of are the followings tags not being used correctly: 1. <%@ page contentType="text/html;charset=ut

Re: Integrating tomcat 5.5.9 w/ Apache 2.0.54 --- which mod_jk

2005-12-04 Thread Seak, Teng-Fong
George Sexton wrote: >Mod_jk2 is deprecated (at least it was a month ago). Use mod_jk. > > It's quite funny to notice that a deprecated stuff is called mod_jk2 while a newer one is called mod_jk :) - To unsubscribe, e-mail:

How to make a redirector?

2005-12-03 Thread Seak, Teng-Fong
I've seen some websites providing redirector. I'd like to know if anyone has done so in Tomcat. Well, I'm not sure how this mechanism is called exactly, maybe not called "redirector", so let me explain. I've seen some URL which contains two URL's, something like http://www.siteA.com/

Re: confusion of tomcat downloading

2005-11-30 Thread Seak, Teng-Fong
Caldarale, Charles R wrote: >>From: blueberry lake [mailto:[EMAIL PROTECTED] >>Subject: Re: confusion of tomcat downloading >> >>Someone told me before that combine apache and tomcat >>together and run tomcat behind apahce can kind of >>improve the security of the website. >> >> > >Urban le

Re: Another issue with a special character

2005-11-27 Thread Seak, Teng-Fong
Oh yeah, upgrading softwares helps in a lot of situations. I should have thought of it and advised it first. Glad that you've figured it out yourself. FYI, Java has reached 1.5.0_05, so better upgrade it too. Information Architecture wrote: > Teng-Fong, > > I appreciated your suggestio

Re: Eclipse setup questions

2005-11-17 Thread Seak, Teng-Fong
I'm using MyEclipse too, but IIRC it mostly export war files (or the whole directory structure in Tomcat). Exporting jar file is still the job of Eclipse. To the original poster: do you mean you're exporting individual java classes or jar files? OTOH, if you're developing some clas

Re: Another issue with a special character

2005-11-17 Thread Seak, Teng-Fong
This seems to be off-topic, but let's continue Have you used MySQL Query Browser? Try to insert the sign and see how many bytes it's using. If it's two, it's almost certainly using UTF-8. If it's one, it seems to be OK. Then you have to figure out which part in your webapp is changin

Re: Internationalization question

2005-11-16 Thread Seak, Teng-Fong
I'm using Tomcat 5.5.9 (in Windows). I've tried but I don't have any problem. Try to upgrade your Tomcat. Scott Smith wrote: I'm using Tomcat 4.1.29 on Windows. I have a context setup which contains some image files (simple jpgs). In the conf/server.xml file, the context looks something

Re: Eclipse setup questions

2005-11-16 Thread Seak, Teng-Fong
Some more precisions are needed. What "output" type are you referencing to? Jar? War? Or something else? But in any case, the general way is File > Export, and then choose your type and in the next screen, specify your export destination. You could use default settings for the rest.

Re: issue tomcat and special characters

2005-11-15 Thread Seak, Teng-Fong
clude Bin Directory in Path" next> specify your password and "Enable root access from remote machine" if you want. That's it! I would suggest you to download the Administrator and Query Browser from the same download page which you would find very useful and intui

Re: issue tomcat and special characters

2005-11-13 Thread Seak, Teng-Fong
On what encoding is your MySQL configured? ISO-8859-1 or UTF-8? Those Ãx means that your characters are in UTF-8. Somehow, something in your program sends UTF-8 to the DB server. I've done a webapp totally in UTF-8 without any problem. But I have to say that I don't have the same confi

Re: upgrading a war file

2005-11-10 Thread Seak, Teng-Fong
And what is it? I don't use Web admin so I don't know much about it. Don't you have an FTP access, for example? Zohar Amir wrote: I do have access, but not through tomcat's web admin. - Original Message ----- From: "Seak, Teng-Fong" <[EMAIL PR

Re: Mod_jk Connector

2005-11-10 Thread Seak, Teng-Fong
is the latest 4.1.x Tomcat, so its not old. Its like FreeBSD 4.X vs 6.X which was released a few days ago, many users still want to use 4.X because they trust in it. best regards Torsten Am Donnerstag, den 10.11.2005, 13:12 +0100 schrieb Seak, Teng-Fong: A curious question: I've lo

Re: Mod_jk Connector

2005-11-10 Thread Seak, Teng-Fong
A curious question: I've lots of mails here in which people are using old versions of stuffs. Real old stuffs! For example, Tomcat reaches already 5.5.12. Why don't you get the latest ones to see it works first? Kaushal Shriyan wrote: I have downloaded the following application httpd-

Re: Ccinfiguration tomcat 5.0 version in windows xp

2005-11-09 Thread Seak, Teng-Fong
How about this? http://tomcat.apache.org/tomcat-5.5-doc/index.html The 1st, 2nd and 3rd sections seem to suit your need. mahesh sankaranarayanan wrote: Hai all, Can any one tell me how configuar the tomcat 5.0 right from installation upto saving the files to the specific folders mahes

Re: upgrading a war file

2005-11-09 Thread Seak, Teng-Fong
Oops, sorry, I've just noticed that you've written "I do not have admin web access to the server". Mea culpa. But that's strange. I mean, how did you deploy your webapp for the first time? You must have some kind of access. Seak, Teng-Fong wrote: Do yo

Re: upgrading a war file

2005-11-09 Thread Seak, Teng-Fong
Do you have full access to the server machine? If yes, you could just copy and paste the war file inside and wait for several seconds. At least that's how I do it. If you want to avoid potential problem due to class change, maybe stop TC before pasting and restart it afterwards. Zohar Am

Re: 5.0.28 v 5.5.12

2005-11-09 Thread Seak, Teng-Fong
Does your Tomcat serve a simple html file? I mean Html file, not Jsp file yet. How about the environment variables like JAVA_HOME and CLASSPATH? Well, in Win, these are no longer needed since TC 5.5 (great job!) but maybe they're still needed in Unix/Solaris. MarcLap wrote: Hi, Yes...

Re: Annoying JBuilder copying problem

2005-11-04 Thread Seak, Teng-Fong
I'm not using JB. So what exactly is your problem? JB doesn't copy all files for you? Or you don't want JB to copy at all? Well, I mean, WEB-INF/classes is the correct place to put .class files, so I don't see any problem that JB copies them there. If you want to make sure all .clas

Re: new Date() returns 0 w/ Tomcat 5.028 on IBM JDK 1.4.2 Linux PPC

2005-10-27 Thread Seak, Teng-Fong
There's no asterisk in the package name, of course. My mail client added them Seak, Teng-Fong wrote: There are other Date classes in other packages, for instance in SQL related packages. Maybe for an obscure reason, you're not using *java.util.Date after some time. Try

Re: new Date() returns 0 w/ Tomcat 5.028 on IBM JDK 1.4.2 Linux PPC

2005-10-27 Thread Seak, Teng-Fong
There are other Date classes in other packages, for instance in SQL related packages. Maybe for an obscure reason, you're not using *java.util.Date after some time. Try to use the whole class name, ie **java.util.Date and see if this solves the problem. HTH ** [EMAIL PROTECTED] wrote:

Re: Problem getting custom 404 error working on 4.1.31

2005-10-24 Thread Seak, Teng-Fong
I'm using IE 6 SP1 but I found that I have to stuff the page up to more than 1024 bytes to make the so-called "friendly" error page disappear. OTOH, I've found a pitfall with IE. It's not enough to click the "refresh" button to test this. I have to quit it and reopen it again after every

Re: Custom error page when ...

2005-10-24 Thread Seak, Teng-Fong
Exactly. That's why he wrote "You can add pages for HTTP response codes to you(r) web.xml file for each web application you deploy within Tomcat." Roberto Bottoni - AfterBit wrote: >Ok.. but if I make this change in web.xml in folder /conf of Tomcat I get >the same result for every web appli

Re: default work directory?

2005-10-22 Thread Seak, Teng-Fong
Do you use pure Eclipse to debug? Or with a plugin like MyEclipse? My point is, instead of fiddling default work directory, couldn't you debug in that way? I use MyEclipse and I remember having seen a super tutorial in their website showing how to debug without tamper with Tomcat's default s

Re: Windows Installer for 5.5.12 leaves out Scripts in /bin

2005-10-13 Thread Seak, Teng-Fong
I'd rather like an option to install these extra files while using the installer, which is far more easier to use than the zip file. Not everyone would need those batch files, for example. [EMAIL PROTECTED] wrote: >I agree. Who do we tell? > > >-Original Message- >From: David Kerber