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 11891] - JspC does not work for webapps
Date Fri, 18 Oct 2002 06:53:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11891>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11891

JspC does not work for webapps





------- Additional Comments From mbrodzia@erggroup.com  2002-10-18 06:53 -------
Greg,

Yes I had the problems with normal JSP compilation as well, and it was due to 
an unchecked cast. Here is the change that resolves it:

JSPCompilationContext.java 145:

boolean isPAckageNeeded= false;
if ( options instanceof JspC )
{
    isPAckageNeeded= ((JspC)options).isOutputDirSet();//if not -dd option
}

I can now precompile and also use standard JSP compilation.

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


Mime
View raw message