RE: Invalid no-cache http headers

2003-02-27 Thread Dennis van den Berg
,null); chain.doFilter(request, response); } public void destroy() { filterConfig = null; } } Thanks for any replies, Dennis -Original Message- From: Szwajkajzer Adam [mailto:[EMAIL PROTECTED] Sent: donderdag 27 februari 2003 8:30 To: Dennis van den Berg Subject: RE: Invalid

Invalid no-cache http headers

2003-02-26 Thread Dennis van den Berg
Hi all, I encountered problems with the newer Tomcat 4 versions. There are caching-headers set on the response, in case of URL's with security constraints, which are not set in older Tomcat 4 versions versions. This results in 2 things; - The user is not able to use the back-button anymore

RE: Initialisation on the first request

2002-09-11 Thread Dennis van den Berg
Or perhaps with a filter? -Original Message- From: Heligon Sandra [mailto:[EMAIL PROTECTED]] Sent: woensdag 11 september 2002 13:15 To: '[EMAIL PROTECTED]' Subject: Initialisation on the first request I am working with a distributed system. I chose to start

RE: set content type to text/pdf

2002-06-21 Thread Dennis van den Berg
Hi, I think when you make the request go to Tiparire.pdf it should open in your browser. It somehow also has something to do with the extension. Dennis. -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: vrijdag 21 juni 2002 9:37 To: [EMAIL PROTECTED] Subject: set content

RE: AW: set content type to text/pdf

2002-06-21 Thread Dennis van den Berg
You could also map your servlet to the pattern *.pdf Dennis. -Original Message- From: Liam Morley [mailto:[EMAIL PROTECTED]] Sent: vrijdag 21 juni 2002 9:57 To: Tomcat Users List Subject: Re: AW: set content type to text/pdf I'm sure there's a better way, but in case there's not,

RE: Way to remove index page file name from URL?

2002-06-19 Thread Dennis van den Berg
Hi, You can make it work by mapping your default servlet to / and make this one forward to your homepage using requestdispatcher. A disadvantage of this solution is that this overides the default mappings for your static image/js files etc. You can solve this by mapping each of these files to

RE: Default Website -- Still not working -- Thanks!

2002-06-14 Thread Dennis van den Berg
I think what you want is this in your server.xml: Context path= docBase=webapps/Test debug=0 Dennis -Original Message- From: S W [mailto:[EMAIL PROTECTED]] Sent: vrijdag 14 juni 2002 9:35 To: [EMAIL PROTECTED] Subject: Default Website -- Still not working -- Thanks! Hi Everyone, I

RE: changing default home page

2002-06-13 Thread Dennis van den Berg
You probably have something like this: Context path= docBase=ROOT debug=0/ In your server.xml This means if a user does not specify anything after /path/to/tomcat it takes ROOT as the default webapp. Furthermore you can specify welcome-pages for each webapp in your web.xml's (see the DTD).

security-constraints

2002-06-11 Thread Dennis van den Berg
Hi all, According to the servlet 2.3 specs, the longest path-prefix is used when determining which servlet-mapping or which security-constraint is to be used. However when I specify the following security-constraint's: security-constraint web-resource-collection

RE: how can I close a session

2002-06-08 Thread Dennis van den Berg
Try session.invalidate(); Dennis. -Original Message- From: Anibal Constante Brito [mailto:[EMAIL PROTECTED]] Sent: zaterdag 8 juni 2002 10:06 To: Tomcat Subject: how can I close a session how can I close a session in JSP? or something like this. to desconect the user, that the user

RE: Newbie help

2002-06-08 Thread Dennis van den Berg
One important difference would be that tomcat does not implement an EJB-container. Dennis. -Original Message- From: Srinivas N. Battula [mailto:[EMAIL PROTECTED]]On Behalf Of sbattul Sent: zaterdag 8 juni 2002 0:39 To: [EMAIL PROTECTED] Subject: Newbie help Hi all, Can any one

RE: secure aplications with JDBCRealm

2002-06-08 Thread Dennis van den Berg
Just to be sure, probably did that already. Did you set put the MySQL dirver in your classpath? For example in the /lib dir of tomcat? Dennis. -Original Message- From: Urtzi Larrazabal [mailto:[EMAIL PROTECTED]] Sent: vrijdag 7 juni 2002 12:41 To: Tomcat Users List (E-mail) Subject:

RE: Any way to tell how many sessions exist?

2002-06-03 Thread Dennis van den Berg
You can use javax.sevlet.http.HttpSessionListener for this purpose. Dennis. -Original Message- From: Rick Mann [mailto:[EMAIL PROTECTED]] Sent: maandag 3 juni 2002 13:20 To: tomcat user jakarta.apache.org Subject: Any way to tell how many sessions exist? I wanted to write a JSP to

Compression Filter

2002-05-30 Thread Dennis van den Berg
I have experienced a problem with the 'Compression Filter' which is part of the 'examples'-webapplication of tomcat. The filter mapping; filter-mapping filter-nameCompression Filter/filter-name url-pattern/CompressionTest/url-pattern /filter-mapping Is commented out by