Problem with Tomcat 4.1.29 and german umlaut url-encoding

2004-08-25 Thread Thilo Krawietz
Hi folks, i actually face some strange phenomenon concerning tomcat and URL-encoding of german umlauts. As you may know, some browsers encode german umlauts for usage in the URL with %xx sequences for proper transportation. The problem i have now is, that i got a web application which allows

Re: understanding web.xml

2004-08-17 Thread Thilo Krawietz
Hi Tobias, in Suns official Servlet specification all elements of web.xml are explained widely, so i would suggest, that you study this one. You can get it here: http://java.sun.com/products/servlet/download.html Hope this helps regards, Thilo Tobias Eriksson wrote: Hi I have been searching

Re: jdbc and tomcat

2004-07-30 Thread Thilo Krawietz
Hello, the SQL error message does not look like if the driver itself could not be found, it appears more obvious to me, that the connection URL for the database is incorrect. Please check your database connection string, maybe the bug hides in there:-) To your xml problem: Did you also

Re: My first WebApplication

2004-07-29 Thread Thilo Krawietz
Hi Sayeed, You should add the servlet to the web.xml under WEB-INF/ with a notation like this: servlet servlet-namesayeed/servlet-name servlet-classcom.wrox.projsp.ch03.myfirstwebapp.sayeed/servlet-class /servlet servlet-mapping servlet-namesayeed/servlet-name

Re: easy debugging

2004-07-28 Thread Thilo Krawietz
Hi Vamsee, there is a log()-Method defined in the HttpServlet Interface. Just call this.log(your debug msg); from within your servlet, then the message should appear HTH, Thilo Hello list users, I'm using Tomcat on win2k. There is a window which is always open when Tomcat runs. It shows

Re: Embedding ${} syntax in jsp pages

2004-07-23 Thread Thilo Krawietz
Hi Ess, in order to enable interpretation JSP 2.0 EL expressions, you need to switch your webapp to JSP 2.0. This is done in web.xml by replacing the starting web-app tag by this syntax: web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: hi newbie question----help needed

2004-07-22 Thread Thilo Krawietz
Hi, are sure your tomcat's running at all? You know, that in order to run tomcat on port 80, you have to start it with root privileges! Check this out by running netstat -l . This lists you all open ports on your system Regards, Thilo Hi, I am newbie to JSP and tomcat. I tried to write the

Re: Where is the Real JAVAHOME?

2004-07-16 Thread Thilo Krawietz
Hello Aris, j2sdk is the full featured Java Development Kit including javac compiler, java interpreter, jdb Debugger , rmic and so on. j2re is the so called Java run time environment. This is like a somewhat slim JDK, which also provides you the Java interpreter, but NOT the compiler. With

Re: Where is the Real JAVAHOME?

2004-07-16 Thread Thilo Krawietz
sorry, i made an error: of course you may compile source only with the j2sdk NOT with the jre! s*** happens :-) Hello! I'm confused... I installed j2sdk1.4.1 in my D drive.. D:\j2sdk1.4.1 But when i take a look at my C drive under program files.. there is C:\program files\java\j2re1.4.1 Both

Re: session invalidation

2004-07-05 Thread Thilo Krawietz
Hello Ashert, may be you ran into the same prob as me i also had the problem, that URL-rewriting under Tomcat 5 did not work although i explicitly used it. I found out, that URL-rewriting does only work, if your application runs in the root context, looking like that in server.xml: Context

Re: Tomcat with ssl

2004-07-05 Thread Thilo Krawietz
Hello, in the official tomcat docu there is a good chapter about how to configure Tomcat with ssl. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html Check it out! Regards, Thilo Hi, I search a good description to configure tomcat with ssl on port 443 and redirect from port 80. Has

Re: AW: How to increase memory

2004-07-02 Thread Thilo Krawietz
as mentioned from Thilo Krawietz' email. Still it seems to be very slow. Thank you Gunnar -Ursprüngliche Nachricht- Von: alu, artifex [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 1. Juli 2004 16:59 An: Tomcat Users List Betreff: Re: How to increase memory by setting the environment variable

Re: How to increase memory

2004-07-01 Thread Thilo Krawietz
There is no possibility to increase memory quota for tomcat directly in tomcat's server settings. But you can set explicitly the amount of memory the VM, which is instanciated when you startup tomcat You do this in catalina.bat by adding two commandline options to %CATALINA_OPTS or %JAVA_OPTS

Tomcat 5 sets cookies although i have disabled cookies in server.xml

2004-06-29 Thread Thilo Krawietz
Hi folks, i actually face a strange phenomenon with the Tomcat session handling mechanism. I want to use URL-rewriting instead of cookies and i used therefore the cookies=false attribute in the Context element. First the entry in the server.xml looked like that: Context path=app docBase=app

URL-Rewriting + SSL under Tomcat 4.1.12

2002-12-02 Thread Thilo Krawietz
Hi folks, i've got a problem with the usage of SSL and URL-rewriting together. I am using Tomcat 4.1.12 and whenever i use an SSL-enabled connector under port 443, the method encodeURL() does not append the sessionID any more to the links in the HTML pages. When i instead use a normal http