tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40797] - Library problems
Date Wed, 08 Nov 2006 12:28:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40797>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40797





------- Additional Comments From Jeremy.Nix@sfsltd.com  2006-11-08 04:28 -------
I experienced the same problems when upgrading to Tomcat 5.5.20.  After taking
blocks of code in and out of my JSP page, I found that my javascript was the
cause for the page to not be compiled properly.  Looking closer at my
javascript, I found that the following line caused the JSP compiler to fail
every time it was included:

var re =
/[A-Za-z0-9\!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\:\;\<\=\>\?\@\[\\\]\^\_\`\{\|\}\~]/g;

By changing this regular expressing to:

var re = /[\S]/g;

my problem was resolved.  I'm not sure what specifically about the original
regular expression was causing the compiler problems, nor do I know why that
regular expression was written the way it was.  

Hope this helps.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message