connection info or
create a .properties file for each application and read in the db connection
info from that.
HTH,
-Jeff
Kranson, Bob
Bob_Kranson@comp To: 'Tomcat Users List' [EMAIL PROTECTED]
uware.com cc:
Subject: RE: Need Ideas... big problem! (long)
07/09/02 02:41 PM
Please
: Tuesday, July 09, 2002 8:47 PM
Subject: RE: Need Ideas... big problem! (long)
Sorry... but could u explain this a little furhter? I'm not familiar with
JNDI.
thanks
.:| Christian J. Dechery
.:| FINEP - Depto. de Sistemas
.:| [EMAIL PROTECTED]
.:| (21) 2555-0332
[EMAIL PROTECTED] 09
PROTECTED]
Sent: Tuesday, July 09, 2002 8:47 PM
Subject: RE: Need Ideas... big problem! (long)
Sorry... but could u explain this a little furhter? I'm not familiar with
JNDI.
thanks
.:| Christian J. Dechery
.:| FINEP - Depto. de Sistemas
.:| [EMAIL PROTECTED]
.:| (21) 2555-0332
[EMAIL
.
Dechery To: [EMAIL PROTECTED]
christian@fincc:
ep.gov.brSubject: RE: Need Ideas... big problem
J. Dechery [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 10, 2002 12:57 PM
Subject: RE: Need Ideas... big problem! (long)
ok... but remember that all the classes will reside in the common\classes
dir...
So how will the class know which context accessed it? That's what I can't
09, 2002 8:47 PM
Subject: RE: Need Ideas... big problem! (long)
Sorry... but could u explain this a little furhter? I'm not familiar with
JNDI.
thanks
.:| Christian J. Dechery
.:| FINEP - Depto. de Sistemas
.:| [EMAIL PROTECTED]
.:| (21) 2555-0332
[EMAIL PROTECTED] 09/07/02 16:41
Why don't
]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 10, 2002 2:33 PM
Subject: Re: Need Ideas... big problem! (long)
didn't work... I did a test here to see if this thing worked before
implementing the Connection Dispatcher...
the Servlet can't find the context in which the JSP that called it is...
here's what
- Original Message -
From: Arshad Mahmood [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, July 10, 2002 4:12 PM
Subject: Re: Need Ideas... big problem! (long)
A JSP is a servlet, so you shouldn't need to create another class derived
from servlet to do
Subject: Re: Need Ideas... big problem! (long)
didn't work... I did a test here to see if this thing worked before
implementing the Connection Dispatcher...
the Servlet can't find the context in which the JSP that called it is...
here's what I did:
* created two classes TesteDispatcher
On Wed, 10 Jul 2002, Christian J. Dechery wrote:
Date: Wed, 10 Jul 2002 13:27:26 -0300
From: Christian J. Dechery [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Need Ideas... big problem! (long)
I'm having some difficulty understanding
2:33 PM
Subject: Re: Need Ideas... big problem! (long)
didn't work... I did a test here to see if this thing worked before
implementing the Connection Dispatcher...
the Servlet can't find the context in which the JSP that called it is...
here's what I did:
* created two classes
. Dechery [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Need Ideas... big problem! (long)
I'm having some difficulty understanding the solution u guys provided me... maybe I
explained my problem badly, so u aren't fully understanding
, 2002 1:00 PM
To: [EMAIL PROTECTED]
Subject: Re: Need Ideas... big problem! (long)
But I want the code I would write in the A class... cuz I will create a
Servlet to provide a connection to the JSPs, but I don't wanna change the
JSPs... inside my Servlet (A) I don't have access to the request object
:
ep.gov.brSubject: Re: Need Ideas... big problem!
(long
various methods.
HTH,
-Jeff
Christian J.
Dechery To: [EMAIL PROTECTED]
christian@fin cc:
ep.gov.br Subject: Re: Need Ideas... big problem! (long)
07/10/02 12:30
PM
Please respond
to Tomcat
Users List
But I want the code I would write in the A class... cuz I will create
:
ep.gov.brSubject: Re: Need Ideas... big problem!
(long)
07/10/02 01:02
PROTECTED]
Subject: Re: Need Ideas... big problem! (long)
exaclty... I looked on HttpServlet... request and response are passed as
parameters... so I don't HAVE it. And since it's passed as a parameter I
would have to change 150 JSPs to pass this new parameter...
and I don't wanna change anything, only
List'
Subject: RE: Need Ideas... big problem! (long)
Please, check some docs and some servlet examples.
You most certainly DO HAVE both the Response object and the Request object
EVERY TIME your servlet is called. That's just how it works. Whether you
choose to use the objects in your class's
. Dechery [ mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 1:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Need Ideas... big problem! (long)
exaclty... I looked on HttpServlet... request and response are passed as
parameters... so I don't HAVE it. And since it's passed as a parameter I
it helps
-reynir
-Original Message-
From: Christian J. Dechery [mailto:[EMAIL PROTECTED]]
Sent: 10. júlí 2002 17:56
To: [EMAIL PROTECTED]
Subject: RE: Need Ideas... big problem! (long)
But that's exactly what I'm talking about...
if doSomething() has to receive parameters
: Christian J. Dechery [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 1:56 PM
To: [EMAIL PROTECTED]
Subject: RE: Need Ideas... big problem! (long)
But that's exactly what I'm talking about...
if doSomething() has to receive parameters, then the answer to my question
(like 10 posts ago
From: Christian J. Dechery [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 10, 2002 6:56 PM
Subject: RE: Need Ideas... big problem! (long)
But that's exactly what I'm talking about...
if doSomething() has to receive parameters, then the answer to my question
(like 10 posts ago
I think you need to start again and explain what the problem is you are
trying to solve. Include snippets of code where relevant so that we know
what you are doing even if you're not sure ;)
Reading your posts you seems to think you know the solution while ignoring
all that is being said. I
Subject: Re: Need Ideas... big problem! (long)
didn't work... I did a test here to see if this thing worked before
implementing the Connection Dispatcher...
the Servlet can't find the context in which the JSP that called it is...
here's what I did:
* created two classes TesteDispatcher
I have a huge problem here... and I can't think of a simple solution for it, I'm
hoping u guys can give some light. :)
Let me first describe the environment here, then the problem.
We have here a webapp called FAP (c:\tomcat\fap). It is composed of:
/fap/*.jsp (like a hundred of them)
-2564
(248)737-7300 x12702 Fax:(248)737-7574
-Original Message-
From: Christian J. Dechery [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 2:38 PM
To: [EMAIL PROTECTED]
Subject: Need Ideas... big problem! (long)
I have a huge problem here... and I can't think
-
From: Christian J. Dechery [ mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 2:38 PM
To: [EMAIL PROTECTED]
Subject: Need Ideas... big problem! (long)
I have a huge problem here... and I can't think of a simple
solution for it, I'm hoping u guys can give some light. :)
Let
]
uware.com cc:
Subject: RE: Need Ideas... big
problem! (long)
07/09/02 02:41 PM
-Original Message-
From: Christian J. Dechery [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 3:47 PM
To: [EMAIL PROTECTED]
Subject: RE: Need Ideas... big problem! (long)
Sorry... but could u explain this a little furhter? I'm not
familiar with JNDI.
thanks
PROTECTED]
Sent: Tuesday, July 09, 2002 8:47 PM
Subject: RE: Need Ideas... big problem! (long)
Sorry... but could u explain this a little furhter? I'm not familiar with
JNDI.
thanks
.:| Christian J. Dechery
.:| FINEP - Depto. de Sistemas
.:| [EMAIL PROTECTED]
.:| (21) 2555-0332
[EMAIL PROTECTED] 09
-Original Message-
From: Arshad Mahmood [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 4:42 PM
To: Tomcat Users List
Subject: Re: Need Ideas... big problem! (long)
Or even simpler why not store it as a parameter in the
server.xml. You will need to add the parameter to each
is the way to go.
It sort of depends on how your apps are deployed.
Regards,
Will Hartung
([EMAIL PROTECTED])
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, July 09, 2002 1:24 PM
Subject: RE: Need Ideas... big problem! (long)
If you
On Tue, 9 Jul 2002, Will Hartung wrote:
Date: Tue, 9 Jul 2002 14:18:12 -0700
From: Will Hartung [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Need Ideas... big problem! (long)
The only detail
From: Craig R. McClanahan [EMAIL PROTECTED]
Sent: Tuesday, July 09, 2002 3:45 PM
On Tue, 9 Jul 2002, Will Hartung wrote:
From: Will Hartung [EMAIL PROTECTED]
I always felt that there should be a bit in the Servlet (and J2EE for
that
matter) specs that has some kind of local
A quick and dirty solution I've done for this is to put a file called
Server.properties in Tomcat's root classes directory, that contains things
like the smtp host and if the server is running in live or test mode (a
good thing to
know if you're doing CC processing :-)
My apps then look for
35 matches
Mail list logo