RE: caching static objects

2004-03-23 Thread Ronald Wildenberg
We are running Tomcat-standalone and are having some caching issues. It appears to be a browser issue, but there's got to be some workaround. We've got the headers set to pragma nocache, but it continues to cache objects, such as charts that are created dynamically. I suppose this wouldn't

RE: How can I get a method to be called every 60 seconds in Tomca t?

2004-03-16 Thread Ronald Wildenberg
I want to get a method to automatically get called every 60 seconds in Tomcat. The method reset() will reset monitoring information. How can I do this? java.util.Timer and java.util.TimerTask Regards, Ronald. - To

RE: Filters and load-on-startup

2004-03-16 Thread Ronald Wildenberg
Hi, Do filters get loaded before servlets regardless of load-on-startup value? I don't think so: as filters can be mapped to servlet-name, servlets must be loaded first. (Although I suppose you could read web.xml, so you have the servlet info, then instantiance filters, then instantiate

RE: Passing init params to a listener?

2004-03-15 Thread Ronald Wildenberg
G'day, I assume from this that init parameters can only be accessed by a listener if they have been declared globally within the applications context and not from within the scope of the listener itself? Hm You can not specify initialization parameters for individual

RE: redirect and request´s attributes doubts

2004-03-12 Thread Ronald Wildenberg
Hello dudes, i´m trying to set some attributes to a request in my servlet, that´s pretty easy as you know, but after i must use redirect to a JSP page and when i try to recall those attributes created before they doesn´t appear in JSP´s request object. Even thought i set a request´s

RE: Dump HTTP Request and Response Headers

2004-03-12 Thread Ronald Wildenberg
Dear folks, How could i dump HTTP Response and Request headers. Im using Apache 1.3 and Tomcat 4.0 MOD_JK. For Mozilla you have a tool called Live HTTP Headers (http://livehttpheaders.mozdev.org/) that does exactly what you want. You install it into Mozilla and it shows you the headers

RE: Setting page content Type

2004-03-12 Thread Ronald Wildenberg
I have been experiementing with jsp:directive.page contentType=... / @ page contentType=... / but none of them seem to be able to take a variable value for contentType, These constructs will indeed not work (and they never will work in future versions either). The constructs you use

RE: release method in taglib

2004-03-11 Thread Ronald Wildenberg
I have created several custom tag libs, I notice there is a release() method in the TagSupport class. Will the release() method be automically called the tag lib is finished? If not, where should I call it? Thanks! It will be called by the JSP page implementation object

RE: HttpServletResponse.sendRedirect() closes the stream

2004-03-10 Thread Ronald Wildenberg
-Oorspronkelijk bericht- Van: suviswan [mailto:[EMAIL PROTECTED] Verzonden: woensdag 10 maart 2004 10:20 Aan: Tomcat Users List Onderwerp: HttpServletResponse.sendRedirect() closes the stream Hi I am using Tomcat 4.1.29. When i do HttpServletResponse.sendRedirect()

RE: Tomcat 4.1 hangs on File Reading

2004-03-10 Thread Ronald Wildenberg
snip public static LoginLog[] readLog()throws FileNotFoundException { Vector log = new Vector(); try { FileReader inFile = new FileReader( /var/log/GFWlogin.log ); BufferedReader bfFile = new BufferedReader( inFile ); while ( bfFile.ready() ) { LoginLog

RE: Tomcat Realm Authentication + Storing Objects In The Session

2004-03-10 Thread Ronald Wildenberg
My biggest unknown right now is, because the server handles the creation of the session, what would it take to make the server grab a user object from the database and store it in the session after the user logs in? Can't you use an HttpSessionListener for this? It is called right

Asynchronous messages from servlets

2002-01-22 Thread Ronald Wildenberg
in updating the browser window, not the user. Is this possible in any way? Thanks in advance, Ronald Wildenberg -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]