Re: a servlet-related Java question

2010-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 4/22/2010 5:53 PM, Konstantin Kolinko wrote: > 2010/4/23 Christopher Schultz : >> I'd love to see the code that enforces this. > > Search for "applicationDispatcher.specViolation.request" and > "applicationDispatcher.specViolation.resp

Re: a servlet-related Java question

2010-04-22 Thread Konstantin Kolinko
2010/4/23 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Konstantin, > > On 4/22/2010 4:53 PM, Konstantin Kolinko wrote: >> 2010/4/23 Kris Schneider : >>> On Thu, Apr 22, 2010 at 4:31 PM, Christopher Schultz >>> wrote: -BEGIN PGP SIGNED MESSAGE- On 4/

Re: a servlet-related Java question

2010-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 4/22/2010 4:53 PM, Konstantin Kolinko wrote: > 2010/4/23 Kris Schneider : >> On Thu, Apr 22, 2010 at 4:31 PM, Christopher Schultz >> wrote: >>> -BEGIN PGP SIGNED MESSAGE- >>> On 4/22/2010 2:37 AM, Bill Barker wrote: If [th

Re: a servlet-related Java question

2010-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kris, On 4/22/2010 4:48 PM, Kris Schneider wrote: > On Thu, Apr 22, 2010 at 4:31 PM, Christopher Schultz > wrote: > >> The following filter works as expected on Tomcat 6.0.26 (some changes >> were required to make it actually work... my off-the-cuff

Re: a servlet-related Java question

2010-04-22 Thread Konstantin Kolinko
2010/4/23 Kris Schneider : > On Thu, Apr 22, 2010 at 4:31 PM, Christopher Schultz > wrote: >> -BEGIN PGP SIGNED MESSAGE- >> On 4/22/2010 2:37 AM, Bill Barker wrote: >>> If [the request/filter] does a forward or include done the line, this >>> won't work with any remotely recent version of

Re: a servlet-related Java question

2010-04-22 Thread Kris Schneider
On Thu, Apr 22, 2010 at 4:31 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Bill, > > On 4/22/2010 2:37 AM, Bill Barker wrote: >> If [the request/filter] does a forward or include done the line, this >> won't work with any remotely recent version of Tomcat.  T

Re: a servlet-related Java question

2010-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, On 4/22/2010 2:37 AM, Bill Barker wrote: > If [the request/filter] does a forward or include done the line, this > won't work with any remotely recent version of Tomcat. These > versions enforce the spec requirement that the Request has to be a

Re: a servlet-related Java question

2010-04-22 Thread Kris Schneider
On Thu, Apr 22, 2010 at 3:40 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Bill, > > On 4/22/2010 2:37 AM, Bill Barker wrote: >>> It's pretty inaccessible for novice Java programmers, but you could use >>> the "proxy" API which is [just] about the coolest thi

Re: a servlet-related Java question

2010-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, On 4/22/2010 2:37 AM, Bill Barker wrote: >> It's pretty inaccessible for novice Java programmers, but you could use >> the "proxy" API which is [just] about the coolest thing available in >> Java IMO. > > If it does a forward or include done the

Re: a servlet-related Java question

2010-04-22 Thread Kris Schneider
On Thu, Apr 22, 2010 at 2:37 AM, Bill Barker wrote: > > > "Christopher Schultz" wrote in message > news:4bcf5f41.6060...@christopherschultz.net... >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> André, >> >> On 4/21/2010 3:46 PM, André Warnier wrote: >>> >>> Mark Thomas wrote: >

Re: a servlet-related Java question

2010-04-22 Thread Pid
On 21/04/2010 19:52, André Warnier wrote: > Hi. > A while ago, I wrote a servlet filter which has served me well since, to > wrap a servlet for which I do not have nor can obtain the source code, > and of which I only generally know what it does. > Now it seems that with a new version of this servl

Re: a servlet-related Java question

2010-04-21 Thread Bill Barker
"Christopher Schultz" wrote in message news:4bcf5f41.6060...@christopherschultz.net... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/21/2010 3:46 PM, André Warnier wrote: Mark Thomas wrote: On 21/04/2010 20:24, André Warnier wrote: Mark Thomas wrote: ... I'd just use JAD an

Re: a servlet-related Java question

2010-04-21 Thread André Warnier
Mark, Chris and Kris, thanks. You have all impressed the hell out of me. You have also lost me.. at a guess about 50 lines ago. But I get the idea, and it is nice to learn that such things exist. I also believe this may be helpful to someone else some day looking for a solution to a case much mor

Re: a servlet-related Java question

2010-04-21 Thread Kris Schneider
On Wed, Apr 21, 2010 at 4:25 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > André, > > On 4/21/2010 3:46 PM, André Warnier wrote: >> Mark Thomas wrote: >>> On 21/04/2010 20:24, André Warnier wrote: Mark Thomas wrote: ... > I'd just use JAD a

Re: a servlet-related Java question

2010-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/21/2010 3:46 PM, André Warnier wrote: > Mark Thomas wrote: >> On 21/04/2010 20:24, André Warnier wrote: >>> Mark Thomas wrote: >>> ... >>> I'd just use JAD and decompile it. >>> Thanks. But although my intentions are not obnoxio

Re: a servlet-related Java question

2010-04-21 Thread Mark Thomas
On 21/04/2010 20:46, André Warnier wrote: > Mark Thomas wrote: >> On 21/04/2010 20:24, André Warnier wrote: >>> Mark Thomas wrote: >>> ... >>> I'd just use JAD and decompile it. >>> Thanks. But although my intentions are not obnoxious nor illegal nor >>> anything of the kind, I would not

Re: a servlet-related Java question

2010-04-21 Thread André Warnier
Mark Thomas wrote: On 21/04/2010 20:24, André Warnier wrote: Mark Thomas wrote: ... I'd just use JAD and decompile it. Thanks. But although my intentions are not obnoxious nor illegal nor anything of the kind, I would not want to even come under suspicion of reverse-engineering. So is ther

Re: a servlet-related Java question

2010-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/21/2010 3:24 PM, André Warnier wrote: > Mark Thomas wrote: > ... > >> >> I'd just use JAD and decompile it. >> > Thanks. But although my intentions are not obnoxious nor illegal nor > anything of the kind, I would not want to even come u

Re: a servlet-related Java question

2010-04-21 Thread Mark Thomas
On 21/04/2010 20:24, André Warnier wrote: > Mark Thomas wrote: > ... > >> >> I'd just use JAD and decompile it. >> > Thanks. But although my intentions are not obnoxious nor illegal nor > anything of the kind, I would not want to even come under suspicion of > reverse-engineering. So is there so

Re: a servlet-related Java question

2010-04-21 Thread André Warnier
Mark Thomas wrote: ... I'd just use JAD and decompile it. Thanks. But although my intentions are not obnoxious nor illegal nor anything of the kind, I would not want to even come under suspicion of reverse-engineering. So is there something that just lists the standard calls/methods used

Re: a servlet-related Java question

2010-04-21 Thread Mark Thomas
On 21/04/2010 19:52, André Warnier wrote: > Hi. > A while ago, I wrote a servlet filter which has served me well since, to > wrap a servlet for which I do not have nor can obtain the source code, > and of which I only generally know what it does. > Now it seems that with a new version of this servl

a servlet-related Java question

2010-04-21 Thread André Warnier
Hi. A while ago, I wrote a servlet filter which has served me well since, to wrap a servlet for which I do not have nor can obtain the source code, and of which I only generally know what it does. Now it seems that with a new version of this servlet, the servlet itself crashes when wrapped by m

Re: OT: a java question - static initialization

2008-02-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kenneth, Kenneth Westelinck wrote: | Did a quick test on 1.6.0 update 2 and the static block does get called. I | guess this is a bug. Er, this code doesn't look like it should compile: |> class Foo { |> |> private static int; |> Isn't there

RE: OT: a java question - static initialization

2008-02-20 Thread Katilie, John
Also, When you say not called. Did you trace it through the debugger? Could there also be some optimization going on here? jfk -Original Message- From: Jim Cox [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 20, 2008 11:05 AM To: Tomcat Users List Subject: Re: OT: a java question

RE: a java question - static initialization

2008-02-20 Thread Caldarale, Charles R
> From: Dave [mailto:[EMAIL PROTECTED] > Subject: OT: a java question - static initialization > > class Foo { >private static int; > static { > a = 100; > } > Foo() { > } > } > > Class.forName("packa

Re: OT: a java question - static initialization

2008-02-20 Thread Jim Cox
On Feb 20, 2008 10:47 AM, Dave <[EMAIL PROTECTED]> wrote: > class Foo { > >private static int; > > static { > a = 100; > } > > Foo() { > > } > > } > > Class.forName("package.Foo").newInstance(); > > The static init block of Foo is not called. > > I a

Re: OT: a java question - static initialization

2008-02-20 Thread Kenneth Westelinck
Did a quick test on 1.6.0 update 2 and the static block does get called. I guess this is a bug. On Feb 20, 2008 4:47 PM, Dave <[EMAIL PROTECTED]> wrote: > class Foo { > > private static int; > > static { > a = 100; > } > > Foo() { > > } > > } > > Class.forName(

OT: a java question - static initialization

2008-02-20 Thread Dave
class Foo { private static int; static { a = 100; } Foo() { } } Class.forName("package.Foo").newInstance(); The static init block of Foo is not called. I am using Java 1.5 update14. It is a bug? Thanks Da

Re: Java Question

2006-02-24 Thread Mehdi Tahanizadeh
> > Is there anyway to check this theory? > > > > Andrew > > > > -Original Message- > > From: Peter Crowther > > [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, February 22, 2006 11:22 AM > > To: Tomcat Users List > > Subject: RE: Java

RE: Java Question

2006-02-23 Thread Ramin Farhanian
:22 AM > To: Tomcat Users List > Subject: RE: Java Question > > > From: Andrew English > [mailto:[EMAIL PROTECTED] > > I have looked for the filenames.* on all the > servers > > including the linux > > ones and not come up with anything except for > what

RE: Java Question

2006-02-23 Thread Peter Crowther
> From: Andrew English [mailto:[EMAIL PROTECTED] > Is there anyway to check this theory? > -Original Message- > From: Peter Crowther [mailto:[EMAIL PROTECTED] [...] > I suspect an operations issue. Has someone configured a revision > control system (such as CVS or Subversion) on the prod

RE: Java Question

2006-02-22 Thread Andrew English
is the oldest version they have information on. :( Thanks Andrew -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 9:15 PM To: Tomcat Users List Subject: Re: Java Question Okay. Now for a few of my hair brain ideas. Every

Re: Java Question

2006-02-22 Thread Parsons Technical Services
data(code written to do it), it is about the only way data is going to be removed. Doug - Original Message - From: "Andrew English" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, February 22, 2006 5:47 PM Subject: RE: Java Question Thanks for

RE: Java Question

2006-02-22 Thread Andrew English
rabhu (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 5:18 PM To: Tomcat Users List Subject: RE: Java Question Andrew, You will be surprised but here is what it is: JBoss is actually sending the calls made to your production server to the test server. This is because o

RE: Java Question

2006-02-22 Thread Sethuraman, Prabhu \(Cognizant\)
:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 9:12 AM To: Tomcat Users List Subject: Java Question Does anyone know of a mailing list were I can ask some java related questions? The number one question I have is if it's possible to write code within Java that changes all your HTML

RE: Java Question

2006-02-22 Thread Mauricio Fernandez A.
search for USB-Java and javaspain in www.yahoogroups.com Mauricio Fernandez A. Ingeniero de Sistemas Universidad Autonoma de Manizales -Mensaje original- De: Andrew English [mailto:[EMAIL PROTECTED] Enviado el: miercoles, 22 febrero, 2006 16:12 Para: Tomcat Users List Asunto: Java

RE: Java Question

2006-02-22 Thread Andrew English
Is there anyway to check this theory? Andrew -Original Message- From: Peter Crowther [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 11:22 AM To: Tomcat Users List Subject: RE: Java Question > From: Andrew English [mailto:[EMAIL PROTECTED] > I have looked f

RE: Java Question

2006-02-22 Thread Peter Crowther
> From: Andrew English [mailto:[EMAIL PROTECTED] > I have looked for the filenames.* on all the servers > including the linux > ones and not come up with anything except for what's on the > two servers. I suspect an operations issue. Has someone configured a revision control system (such as CV

RE: Java Question

2006-02-22 Thread Robert Harper
List Subject: RE: Java Question I have looked for the filenames.* on all the servers including the linux ones and not come up with anything except for what's on the two servers. I have not had a chance to check all the jar files, are ear files like jar files if so what's a good tool for op

RE: Java Question

2006-02-22 Thread Andrew English
s? Thanks Andrew -Original Message- From: Robert Harper [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 10:10 AM To: 'Tomcat Users List' Subject: RE: Java Question Are the pages static or is there some process, servlet, script, or something else that creates these?

RE: Java Question

2006-02-22 Thread Robert Harper
Are the pages static or is there some process, servlet, script, or something else that creates these? There could also be another system somewhere that is allowed access to the areas that hold the HTML files and is creating them in some nightly process. I don't know that this is a Java que

Java Question

2006-02-22 Thread Andrew English
Does anyone know of a mailing list were I can ask some java related questions? The number one question I have is if it's possible to write code within Java that changes all your HTML files back to their original default? A client of mine runs, dare I say it here JBoss 2.4 and I found two copies