RE: Probably an easy answer

2005-06-13 Thread GB Developer
how about instead of using a declared variable, use an appropriately scoped attribute? You won't get a compile-time error retrieving a named attribute. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: Probably an easy answer

2005-06-13 Thread Frank W. Zammetti
> Any brainstorms out there? > > Charles > > -Original Message- > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Sent: Monday, June 13, 2005 8:34 AM > To: Tomcat Users List > Cc: Tomcat Users List > Subject: RE: Probably an easy answer > > The on

RE: Probably an easy answer

2005-06-13 Thread Woodchuck
[mailto:[EMAIL PROTECTED] > Sent: Monday, June 13, 2005 8:34 AM > To: Tomcat Users List > Cc: Tomcat Users List > Subject: RE: Probably an easy answer > > The only other possible way I can think of, and I would have to do so > experimenting to see if/how exactly it would work, wou

RE: Probably an easy answer

2005-06-13 Thread Charles P. Killmer
:[EMAIL PROTECTED] Sent: Monday, June 13, 2005 8:34 AM To: Tomcat Users List Cc: Tomcat Users List Subject: RE: Probably an easy answer The only other possible way I can think of, and I would have to do so experimenting to see if/how exactly it would work, would be something like: try { Object a = b

RE: Probably an easy answer

2005-06-13 Thread Frank W. Zammetti
not. I am looking to > consolidate these two files. > > Charles > > -Original Message- > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Sent: Friday, June 10, 2005 5:46 PM > To: Tomcat Users List > Subject: Re: Probably an easy answer > > If it is a class memb

RE: Probably an easy answer

2005-06-13 Thread Charles P. Killmer
e two files. Charles -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Friday, June 10, 2005 5:46 PM To: Tomcat Users List Subject: Re: Probably an easy answer If it is a class member you could conceivably use reflection to see if a given object/class has a member you

Re: Probably an easy answer

2005-06-10 Thread Frank W. Zammetti
If it is a class member you could conceivably use reflection to see if a given object/class has a member you name... if it's local though, no, it's a purely compile-time check. Do you really mean declared or do you perhaps mean initialized? Frank Charles P. Killmer wrote: Is there a way to,

Probably an easy answer

2005-06-10 Thread Charles P. Killmer
Is there a way to, at runtime, check if a variable is declared? I have some code that I want to behave differently depending on whether or not a variable has been declared. I tried using a try catch block but it gets caught at compile time. Thanks Charles ---