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
: Tuesday, September 03, 2002 10:14 AM Subject: global.jsa Is there such a thing as a global.jsa file in Tomcat? I first saw this concept (an idea taken from ASP's global.asa) implemented in JRUN. If there is a global.jsa, does anyone know of any docs on this? If not, is there an alternative

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
: 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 for. Running a servlet onStartup

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

global.jsa

2002-09-03 Thread neal
Is there such a thing as a global.jsa file in Tomcat? I first saw this concept (an idea taken from ASP's global.asa) implemented in JRUN. If there is a global.jsa, does anyone know of any docs on this? If not, is there an alternative? The reason I would want to use this is to instantiate

RE: global.jsa

2002-09-03 Thread Barney Hamish
To: Tomcat Users List Subject: global.jsa Is there such a thing as a global.jsa file in Tomcat? I first saw this concept (an idea taken from ASP's global.asa) implemented in JRUN. If there is a global.jsa, does anyone know of any docs on this? If not, is there an alternative? The reason I

RE: global.jsa

2002-09-03 Thread neal
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 ... but can you instantiate objects there? Can you specify scope of those objects or will it presume application scope? THanks. Neal -Original Message

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
: 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 you can specify servlets that should be run on start-up in the web.xml if you want some kind of java daemon running. Hamish

RE: global.jsa

2002-09-03 Thread micael
Try Jason Hunter's book on servlets, Java Servlet Programming, pp. 43 ff. At 01:56 AM 9/3/2002 -0700, you wrote: 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 ... but can you instantiate objects

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

Global.jsa

2001-01-24 Thread Peter Giannopoulos
Can anyone tell me where I should put me global.jsa for a particular web-app for tomact 3-2.1 ? Cheers, -- Peter Giannopoulos,Software Developer Gemplus Software, Advanced Projects Group Phone: +15147322434

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: http

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