Re: Singleton in Tomcat 6.0 not working

2008-06-05 Thread Lilianne E. Blaze
Hello, Is there any particular reason you can't just use ServletContext Attribute instead of a static singleton? Greetings, Lilianne E. Blaze ktou Ho wrote: Hi, I am using Tomcat 6.0.16 with JDK 1.6. I created a web application and deployed it as ROOT. (I removed the default ROOT which comes

Re: Using RequestDispatcher.include() outside of Request/Response cycle.

2007-10-09 Thread Lilianne E. Blaze
:/ It was on Tomcat 4.0, but I believe there's nothing in the specs that prohibit such (ab)use, so it should work with any servlet container. Greetings, Lilianne E. Blaze Andrei Tchijov wrote: Hi, I have a valve which detects some events in life-cycle of a web application ( like successful

Re: How do you access all sessions from a servlet in tomcat 6.0?

2007-09-18 Thread Lilianne E. Blaze
. Greetings, Lilianne E. Blaze [EMAIL PROTECTED] wrote: We have tomcat configured to allow users sessions to stay alive for 12 hours. This is because this is how they like to work, login once at the start of the day and shutdown at the end of the day. I have a need to track their actual

Re: how to obtain server ip address

2007-09-17 Thread Lilianne E. Blaze
. Greetings, Lilianne E. Blaze Waseem Azhar wrote: Hi, How do I obtain the IP address of the machine (where the tomcat tomcat server in running) ? My web app is deployed on tomcat server and I want to know the Ip address of the server in my application. Thanks in advance. -Azhar

Re: the tomcat welcome file one struts action

2007-09-09 Thread Lilianne E. Blaze
Try creating an empty file named Index.do in /. Greetings, Lilianne E. Blaze Miren Urkixo wrote: Hello I am trying to make one web aplication using struts into one tomcat 5.0.XX In my web.xml file i writte whic is my welcome file, one struts action (Index.do) but the tomcat doesn't