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 ch...@christopherschultz.net: I'd love to see the code that enforces this. Search for applicationDispatcher.specViolation.request and

Re: a servlet-related Java question

2010-04-22 Thread Bill Barker
Christopher Schultz ch...@christopherschultz.net 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

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 servlet,

Re: a servlet-related Java question

2010-04-22 Thread Kris Schneider
On Thu, Apr 22, 2010 at 2:37 AM, Bill Barker billwbar...@verizon.net wrote: Christopher Schultz ch...@christopherschultz.net 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:

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 line,

Re: a servlet-related Java question

2010-04-22 Thread Kris Schneider
On Thu, Apr 22, 2010 at 3:40 PM, Christopher Schultz ch...@christopherschultz.net 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

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 4:31 PM, Christopher Schultz ch...@christopherschultz.net 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

Re: a servlet-related Java question

2010-04-22 Thread Konstantin Kolinko
2010/4/23 Kris Schneider kschnei...@gmail.com: On Thu, Apr 22, 2010 at 4:31 PM, Christopher Schultz ch...@christopherschultz.net 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

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 ch...@christopherschultz.net wrote: The following filter works as expected on Tomcat 6.0.26 (some changes were required to make it actually

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 kschnei...@gmail.com: On Thu, Apr 22, 2010 at 4:31 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- On 4/22/2010

Re: a servlet-related Java question

2010-04-22 Thread Konstantin Kolinko
2010/4/23 Christopher Schultz ch...@christopherschultz.net: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 4/22/2010 4:53 PM, Konstantin Kolinko wrote: 2010/4/23 Kris Schneider kschnei...@gmail.com: On Thu, Apr 22, 2010 at 4:31 PM, Christopher Schultz

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 servlet,

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 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 something

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 under

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

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 want to even come under

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 obnoxious nor illegal nor

Re: a servlet-related Java question

2010-04-21 Thread Kris Schneider
On Wed, Apr 21, 2010 at 4:25 PM, Christopher Schultz ch...@christopherschultz.net 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

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