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.)
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