I recently installed Tomcat 3.2.1 on a RedHat 6.2 Linux System and have
come across some strange issues.  I am using it solely for the jsp
functionality not for servlets.  I am running it in conjunction with
Apache 1.3.12(to serve static content, images etc.)  

Whenever I do an include, from a .jsp file, that passes a param value
with ' ' in the value string I get some really strange exceptions,
the first exception is a FileNotFoundException, all of the included
files are referred to relatively i.e. "../header.jsp" and do exist, if I
remove the ".." I can get rid of the FileNotFoundException. Ok, but now
I get: Internal Servlet Error: javax.servlet.ServletException; Root
Cause: java.lang.IllegalArgumentException.  (please let me know if you
need more info than that as the full errors were much longer etc.)
Finally, to fix this, I remove the ' ' from the param line in the
include statement below.

<jsp:include page="/header_out.jsp" flush="true">
        <jsp:param name="cur_page" value="Learn&nbsp;More" />
</jsp:include>

The next issue I am having is pretty simple, I have a directory my_admin
which when accessing *.jsp I get a "404 File Not Found", but if I change
the name to myadmin(note: no underscore "_") everything is peachy.  HTML
files work fine in both situations.

Are these bugs(known?) or do I possibly have some problems in my
configuration?  If it is a problem in my configuration, any suggestions?
Thanks.

-- 
Thomas Bartels 
aka Blossoms the Tact Rat

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to