RE: Need Ideas... big problem! (long)

2002-07-10 Thread Christian J. Dechery
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

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Christian J. Dechery
: 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

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Christian J. Dechery
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

RE: Need Ideas... big problem! (long)

2002-07-10 Thread jeff . guttadauro
. Dechery To: [EMAIL PROTECTED] christian@fincc: ep.gov.brSubject: RE: Need Ideas... big problem

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Arshad Mahmood
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

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Arshad Mahmood
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

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Arshad Mahmood
] 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

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Arshad Mahmood
- 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

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Christian J. Dechery
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

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Craig R. McClanahan
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

RE: Need Ideas... big problem! (long)

2002-07-10 Thread Andy Eastham
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

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Christian J. Dechery
. 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

RE: Need Ideas... big problem! (long)

2002-07-10 Thread Turner, John
, 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

Re: Need Ideas... big problem! (long)

2002-07-10 Thread jeff . guttadauro
: ep.gov.brSubject: Re: Need Ideas... big problem! (long

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Christian J. Dechery
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

Re: Need Ideas... big problem! (long)

2002-07-10 Thread jeff . guttadauro
: ep.gov.brSubject: Re: Need Ideas... big problem! (long) 07/10/02 01:02

RE: Need Ideas... big problem! (long)

2002-07-10 Thread Turner, John
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

RE: Need Ideas... big problem! (long)

2002-07-10 Thread Turner, John
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

RE: Need Ideas... big problem! (long)

2002-07-10 Thread Christian J. Dechery
. 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

RE: Need Ideas... big problem! (long)

2002-07-10 Thread Reynir Hübner
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

RE: Need Ideas... big problem! (long)

2002-07-10 Thread Turner, John
: 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

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Arshad Mahmood
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

RE: Need Ideas... big problem! (long)

2002-07-10 Thread Donie Kelly
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

Re: Need Ideas... big problem! (long)

2002-07-10 Thread Will Hartung
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

Need Ideas... big problem! (long)

2002-07-09 Thread Christian J. Dechery
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)

RE: Need Ideas... big problem! (long)

2002-07-09 Thread Kranson, Bob
-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

RE: Need Ideas... big problem! (long)

2002-07-09 Thread Christian J. Dechery
- 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

RE: Need Ideas... big problem! (long)

2002-07-09 Thread jeff . guttadauro
] uware.com cc: Subject: RE: Need Ideas... big problem! (long) 07/09/02 02:41 PM

RE: Need Ideas... big problem! (long)

2002-07-09 Thread Kranson, Bob
-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

Re: Need Ideas... big problem! (long)

2002-07-09 Thread Arshad Mahmood
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

RE: Need Ideas... big problem! (long) server.xml parameters

2002-07-09 Thread Kranson, Bob
-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

Re: Need Ideas... big problem! (long)

2002-07-09 Thread Will Hartung
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

Re: Need Ideas... big problem! (long)

2002-07-09 Thread Craig R. McClanahan
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

Re: Need Ideas... big problem! (long)

2002-07-09 Thread Will Hartung
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

Re: Need Ideas... big problem! (long)

2002-07-09 Thread James Turner
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