layout hack
layout hackMain Pagelayout hack
layout hack
RSS Feed RSS Feed Main page
layout hack
layout hack
layout hackAbout Melayout hack
layout hack
Software I wrote
Resume
Friends of mine
Pictures
Musicianship
Stuff I have for sale
layout hack
layout hack
layout hackPersonal Newslayout hack
layout hack
2010:
March, April.
2009:
January, March, August.
2008:
Jan, Feb, Apr, May, July, August, September, October.
2007:
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
2006:
Jan, Feb, Mar, Apr, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
2005:
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
2004:
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
2003:
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
2002:
Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
2001:
Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec.
2000:
Jan, Feb, Apr, May, Jun, Jul, Aug, Oct, Nov, Dec.
1999:
Jan, Feb, Jun, Oct, Dec.
1998:
Jul, Aug, Sep, Nov.
layout hack
layout hack
layout hackGeek Stuff (computer related)layout hack
layout hack
Digital Music
Java
Why LiveWire Sucks
Why ASP Sucks (a bit)
Linux
MacOS
Unix
Oracle
Perl
Emacs
O'Reilly
layout hack
layout hack
layout hack(some of) My Interestslayout hack
layout hack
Humor
Sony Playstation
Cars
layout hack
layout hack
layout hackSearchlayout hack
layout hack

layout hack
layout hackAdslayout hack
layout hack



WebSphere Capitalization Fix

IBM's WebSphere Application Server 2.02 for NT has a really stupid bug in its JSP code. I started a discussion about it on IBM's support newsgroup. Nils Meier was good enough to write a Servlet which solves the problem by lowercasing every URL. I wrote one from scratch, which looks at the file's real name via getCanonicalPath(), and fixes the PathInfo accordingly. (That one's not available, sorry.)

Here is the servlet he wrote. It's GPL'd. Enjoy.

Hi Jamie

I hope I've got it right this time :) 

By subclassing com.sun.server.http.pagecompile.PageCompileServlet,
we can use a Servlet which does the lowercase and call super.

The changes in configuration now is even easier:

(1) PUT the attached servlet in the servlet-directory of WAS

(2) CHANGE the WAS's serlvet configuration (admin frontend or
servlets.properties):

  # Page compile servlet (JHTML, servlet tag)
  #
servlet.pageCompile.code=com.sun.server.http.pagecompile.PageCompileServlet
  servlet.pageCompile.code=MyPageCompileServlet
  servlet.pageCompile.allow_delete=false
  servlet.pageCompile.internal=true

Now MyPageCompileServlet is called and all request to our JSPs
work regardless of case.

Best Regards
Nils