Re: global.jsa

2002-09-11 Thread Chris Brown
] Sent: Tuesday, September 10, 2002 8:14 PM Subject: Re: global.jsa Hi! I saw this post of yours in the tomcat list and tried myself. For some reason it doesn works... you can help me? I don't know what to do, it works for application start/stop, but not for session. On Mon, 2002-09-09

Re: global.jsa

2002-09-11 Thread Felipe Schnack
context. I'd personally make two classes, for readability and simplicity though! - Chris - Original Message - From: Felipe Schnack [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 10, 2002 8:14 PM Subject: Re: global.jsa Hi! I saw this post of yours

Re: global.jsa

2002-09-09 Thread Chris Brown
Hello, I've seen a few answers to your question suggesting that you use a servlet that loads on startup. I have another suggestion that you may prefer to emulate global.asa: implement ServletContextListener and HttpSessionActivationListener. javax.servlet.ServletContextListener ...sends

RE: global.jsa

2002-09-04 Thread Barney Hamish
load-on-startup in your WEB-INF/web.xml is the element. Have a look in the servlet specifications for a fuller description. Hamish -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 8:43 PM To: Tomcat Users List Subject: RE: global.jsa

RE: global.jsa - Struts

2002-09-04 Thread neal
]] Sent: Tuesday, September 03, 2002 12:36 PM To: Tomcat Users List Subject: RE: global.jsa Why don't you look at a struts application? They exist, and all applications with Tomcat do this. At 11:42 AM 9/3/2002 -0700, you wrote: Interesting. I was aware of the application scope option which

RE: global.jsa - Struts

2002-09-04 Thread micael
-Original Message- From: Barney Hamish [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 2:14 AM To: 'Tomcat Users List' Subject: RE: global.jsa Why don't you just declare the object you want to use as having application scope? That way the first time you use

RE: global.jsa - Struts

2002-09-04 Thread micael
in productivity) analysis doesn't seem to be pointing me in that direction right now. :) -Original Message- From: micael [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:36 PM To: Tomcat Users List Subject: RE: global.jsa Why don't you look at a struts application? They exist

RE: global.jsa - Struts

2002-09-04 Thread Felipe Schnack
To: Tomcat Users List Subject: RE: global.jsa Why don't you look at a struts application? They exist, and all applications with Tomcat do this. At 11:42 AM 9/3/2002 -0700, you wrote: Interesting. I was aware of the application scope option which is cool ... but not exactly what I was looking

RE: global.jsa - Struts

2002-09-04 Thread neal
04, 2002 8:21 AM To: Tomcat Users List Subject: RE: global.jsa - Struts My opinion about development: you really should use only tags in JSP, and never write java code in a jsp file. You should always separate design from implementation. About Struts: yeah, we need lots of taglibs to avoid

RE: global.jsa - Struts

2002-09-04 Thread jeff . guttadauro
: Subject: RE: global.jsa - Struts 09/04/02

Re: global.jsa - Struts

2002-09-04 Thread Eddie Bush
Struts is *the* de-facto standard MVC framework. The problem is that there is a slight bit of initial learning curve, and it's hard to see the benefit until *after* you've used it (my opinion). You really should give it a go -- it's tons better than having to implement something analagous

RE: global.jsa - Struts

2002-09-04 Thread Felipe Schnack
into an XML or props file. This is pretty much what you're doing too? Neal -Original Message- From: Felipe Schnack [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 8:21 AM To: Tomcat Users List Subject: RE: global.jsa - Struts My opinion about development: you

Re: global.jsa - Struts

2002-09-04 Thread Eddie Bush
neal wrote: Micael, You've mentioned Struts a couple of times and I admit I am curious. I did look into Struts but to be honost I wasn't all that impressed by what (I think) I saw. It seemed like it was just offering a lot of lightweight wrappers around the API. Case in point, the Cookie

RE: global.jsa

2002-09-04 Thread neal
Actually, I just checked p 43 ... its talking about the init() and detroy methods() of a servlet. You sure that was 2nd edition? :) Neal -Original Message- From: micael [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:23 PM To: Tomcat Users List Subject: RE: global.jsa

RE: global.jsa

2002-09-03 Thread Barney Hamish
You can use the WEB-INF/web.xml to similar effect or you can also declare objects to have application scope, then you have a global object that you can access anywhere. Hamish -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 10:15 AM To:

RE: global.jsa

2002-09-03 Thread neal
- From: Barney Hamish [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 1:30 AM To: 'Tomcat Users List' Subject: RE: global.jsa You can use the WEB-INF/web.xml to similar effect or you can also declare objects to have application scope, then you have a global object that you can

RE: global.jsa

2002-09-03 Thread Barney Hamish
Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 10:56 AM To: Tomcat Users List Subject: RE: global.jsa Thanks. No global.jsa, eeh? The web.xml is a good way to go if you have flat variables that you want placed into the application object

RE: global.jsa

2002-09-03 Thread neal
-Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 10:56 AM To: Tomcat Users List Subject: RE: global.jsa Thanks. No global.jsa, eeh? The web.xml is a good way to go if you have flat variables that you want placed into the application object

RE: global.jsa

2002-09-03 Thread micael
there? Can you specify scope of those objects or will it presume application scope? THanks. Neal -Original Message- From: Barney Hamish [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 1:30 AM To: 'Tomcat Users List' Subject: RE: global.jsa You can use the WEB-INF/web.xml

RE: global.jsa

2002-09-03 Thread micael
- From: Barney Hamish [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 2:14 AM To: 'Tomcat Users List' Subject: RE: global.jsa Why don't you just declare the object you want to use as having application scope? That way the first time you use it it will be initialized? Alternatively

RE: Global.jsa

2001-01-24 Thread Ignacio J. Ortega
There is no Global.jsa in the spec , this is an Oracle extension to spec, IMHO Servlet 2.3 spec adresses some the remaining issues as application evens, all the other things in Global.jsa are easily replicable using the standard, things Session events and global objects .. References:

RE: Global.jsa

2001-01-24 Thread Peter Giannopoulos
--- -Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: January 24, 2001 11:09 AM To: '[EMAIL PROTECTED]' Subject: RE: Global.jsa There is no Global.jsa in the spec , this is an Oracle extension to spec, IMHO Servlet 2.3 spec