Re: Introspect whether setCharacterEncoding is present..

Endre Stølsvik <[email protected]> Tue, 12 Oct 2004 17:10:39 +0200 (CEST)
Newsgroups gmane.comp.java.advanced-servlets
Message-ID <Pine.LNX.4.44.0410121701160.26253-100000@excalibur.intra.coretrek.com>
On 12 Oct 2004, Nic Ferrier wrote:

|
| =?iso-8859-1?Q?Endre_St=F8lsvik?= <[email protected]> writes:
|
| > Hi..
| >
| > How unadvicable would it be to introspect whether the setCharacterEncoding
| > is present on the Request object?
|
| Very. Use mod_python instead   /8->

Haha! What's up with you, dude? Java ROCKS! Python SUCKS!

Google:

  java rocks/sucks ratio:   237,000/183,000 ~= 1.30
  python rocks/sucks ratio: 118,000/ 74,500 ~= 1.58

Okay, you win.


|
| Why don't you just test this? How hard is it to run a test on a few
| containers? It seems to me that you've got yourself into a premature
| optimization situation.

Not premature at all. (And it ain't optimizatin, as such!) This is a
"low-level" EIP server - and I'd like it to be compliant with whatever is
out there. I mean, there are "some" servlet engines, and I'd like this
server to run on them all:

  http://servlets.com/engines/

We've checked the code of three (tomcat 5.5, jetty 5.0.0, og resin 3.0.9)
engines, and they seem OK.

Endre



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

Before posting a question, try to find your answer here: 
<http://www.egroups.com/links/advanced-servlets>
Announcements should go to: [email protected]
To Post a message, send it to: [email protected]
To Unsubscribe, send a blank message to: [email protected] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/advanced-servlets/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/