set header in all responses

2005-04-27 Thread Rodrigo Avila
Hi all! Is possible to put this headers in all responses generated by Tomcat? response.setHeader(Pragma,no-cache); response.setHeader (Cache-Control,no-history); response.setDateHeader(Expires,-1); Thanks the attetion. -- Rodrigo de Avila [EMAIL PROTECTED] http://www.avila.eti.br

Re: set header in all responses

2005-04-27 Thread Rodrigo Avila
right... I need to all apps in an TC instance use these headers... how I do it? I don't know how use filters / valves... Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] How to determine whether a session or request is SSL

2005-03-11 Thread Rodrigo Avila
To know if the user use ssl, try the boolean request.isSecure(). On Fri, 11 Mar 2005 13:27:09 +0100, Jan Behrens [EMAIL PROTECTED] wrote: Hi list, I would like to evaluate the current encription status of a users session or request from out of a taglib or servlet. E.g. know whether the user

Re: Re: [OT] How to determine whether a session or request is SSL

2005-03-11 Thread Rodrigo Avila
Betriebliches Informations- und Wissensmanagement Escherweg 2 - 26121 Oldenburg - Germany Fon: +49 4 41 97 22 - 187 - Fax: +49 4 41 97 22-102 E-mail: [EMAIL PROTECTED] - URL: http://www.offis.de Rodrigo Avila [EMAIL PROTECTED] 11.03.2005 09:58 Bitte antworten an Tomcat Users List tomcat

Re: Using new JDK 5.0 language features with Tomcat 5.5?

2005-03-07 Thread Rodrigo Avila
since we're talking about that... I have a system running *perfectly* using Tomcat 5.0.28 and Java 1.4.2_07. But I think in migrate this system to Java 1.5.0_01 using Tomcat 1.5.7, in an Production server. My question is: have any problem in make this migration? What is the group opinion?

Apache 1.3 + mod_jk: Segmentation fault

2005-02-25 Thread Rodrigo Avila
Hi! Does anyone see this error in Apache error_log? [...] child pid 6645 exit signal Segmentation fault (11) It only happen when I use mod_jk 1.2.8 compiled by me (./configure--with=apxs=/usr/sbin/apxs; make; make install), using the instructions at

Re: Apache 1.3 + mod_jk: Segmentation fault

2005-02-25 Thread Rodrigo Avila
On Fri, 25 Feb 2005 16:19:23 +0100, Mladen Turk [EMAIL PROTECTED] wrote: Do you have ForwardDirectories enabled? Remove 'JkOptions ForwardDirectories' and there shouldn't be segfaults any more. This has been fixed in the cvs, and will not be present in next release scheduled for next month.

Using tomcat session

2005-02-15 Thread Rodrigo Avila
Hi, When two clients are connected to my server, is possible to an third client use the sessions of the other two users? If it is possible, how I catch the sessions? Thanks! -- Rodrigo de Avila [EMAIL PROTECTED] http://www.avila.eti.br

Re: Relative Path in web.xml

2005-02-11 Thread Rodrigo Avila
at ServletContext.getResourceAsStream() -Tim Rodrigo Avila wrote: Hi, is possible to make a Propertie, in the web.xml file, poiting to a file using the relative path of the file? Something like: propertie: fooProp value: conf/file.txt (file.txt is in $CATALINA_HOME/conf directory

Relative Path in web.xml

2005-02-10 Thread Rodrigo Avila
Hi, is possible to make a Propertie, in the web.xml file, poiting to a file using the relative path of the file? Something like: propertie: fooProp value: conf/file.txt (file.txt is in $CATALINA_HOME/conf directory, or /usr/local/tomcat/conf) Thanks the help! -- Rodrigo de Avila [EMAIL

java.awt.headless=true in tomcat startup

2005-02-04 Thread Rodrigo Avila
Hi! I try to use some awt\swing classes to convert rtf strings to html in an jsp page. But I receive the following Exception: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. But, to resolve this problem, I find the following tip: assuming you're using a 1.4

JSP Compilation Problem

2005-02-03 Thread Rodrigo Avila
Hi! When I create a new JSP file in tomcat 5.0.24 and try to run it, the Tomcat send me this error: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file

Re: JSP Compilation Problem

2005-02-03 Thread Rodrigo Avila
in your path -Tim Rodrigo Avila wrote: Hi! When I create a new JSP file in tomcat 5.0.24 and try to run it, the Tomcat send me this error: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet