Re: Default character encoding for ServletRequest

2009-10-01 Thread Markus Meyer
It all depends on the client. IIRC if you set the charset in the content type header to utf-8, like this contentType="text/html; charset=utf-8" most browsers will then use utf-8 for HTTP GET and POST requests when responding to the given page. See this thread for some more information: http

Re: How to check if the client dropped the connection

2009-09-28 Thread Markus Meyer
Martin Gainty schrieb: could you explain just a bit more what is a tile? If you have a very large image, say 1 million x 1 million pixels or something like that, it is more efficient to split the image into tiles, that is small images of, say, 256 x 256 pixels. If a certain portion of the bi

Re: How to check if the client dropped the connection

2009-09-28 Thread Markus Meyer
aaime74 schrieb: Well, something like that has actually been done already, it's called tile caching, and works under the restrictive conditions that you can force the client to make requests in predetermined sizes and tiles. As for applying this to the general case, I invite you to have a look at

Re: How to check if the client dropped the connection

2009-09-28 Thread Markus Meyer
Jason Brittain schrieb: The first time you call flush, it will send the HTTP response headers to the client, so you would need to first set the headers before flushing. That sounds difficult for you to do because you're writing an image, and one of the headers would be Content-Length, which you

Re: Tomcat App Configuration

2009-09-07 Thread Markus Meyer
tion. Look here instead : http://wiki.apache.org/tomcat/HowTo#head-2e16a614a1be6e03102fc69dd59587a30e20bc5c Markus Meyer wrote: I'm not sure what's the problem, but I would not put the app into "/usr/share/tomcat5.5/webapps" because this is the default location. I would put t

Re: Tomcat App Configuration

2009-09-07 Thread Markus Meyer
re with your "other" root setting. Markus skarahan schrieb: Hi , thanks your help.I add this line server.xml " I can see it manager page path column.But its not running.is there another xml file to congire it.? Markus Meyer wrote: Hi, just use an entry like the fol

Re: Tomcat App Configuration

2009-09-07 Thread Markus Meyer
Hi, just use an entry like the following in your Tomcat's "server.xml" configuration file: HTH Markus skarahan schrieb: Hi, I use tomcat5.5 on ubuntu and have java web application.When I run it, its address looks like "http://servername:8180/myapp"; on browser address line.But I don't lik

Re: user / password

2009-08-27 Thread Markus Meyer
See http://www.netbeans.org/kb/61/websvc/gs-axis.html Search for "tomcat-users.xml" in this document. Chris Lenart schrieb: I did but it's blank. Do I add one? -Original Message----- From: Markus Meyer [mailto:me...@mesw.de] Sent: Thursday, August 27, 2009 3:14 PM To: To

Re: user / password

2009-08-27 Thread Markus Meyer
I do not know NetBeans but you probably want to have a look at tomcat-users.xml in the Tomcat configuration directory. Chris Lenart schrieb: NetBeans is trying to connect to Tomcat and asking for an ID and password. Wher do I find this? ---

Re: Strange problems with SSL support in Tomcat 6

2009-08-26 Thread Markus Meyer
appropriate directives. Markus Markus Meyer schrieb: Hi, I have a Debian machine where previously, Tomcat 5.5 was installed (using the Tomcat 5.5 Debian package). "uname -a" returns: Linux server02 2.6.26-2-amd64 #1 SMP Sun Jul 26 20:35:48 UTC 2009 x86_64 GNU/Linux Now, for som

Strange problems with SSL support in Tomcat 6

2009-08-26 Thread Markus Meyer
Hi, I have a Debian machine where previously, Tomcat 5.5 was installed (using the Tomcat 5.5 Debian package). "uname -a" returns: Linux server02 2.6.26-2-amd64 #1 SMP Sun Jul 26 20:35:48 UTC 2009 x86_64 GNU/Linux Now, for some reason I installed Tomcat 6 by using the binary distribution of

How to configure per-webapp logging

2009-08-12 Thread Markus Meyer
Hi, I'd like to configure my webapp to log into a separate file. (Actually, I'd like to have two files, one with only the SEVERE messages and one with all messages, but let's start with an easy example here.) This is a Debian 5.0 server. The webapp is installed in /var/lib/tomcat5.5/webapps