]
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
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
: 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
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
]]
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
: 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
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
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
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
:
Subject: RE: global.jsa - Struts
09/04/02
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
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
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
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
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
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
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
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
: 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
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
-
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
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
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
---
-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
24 matches
Mail list logo