cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sushil Bhattarai" <sush...@hotmail.com>
Subject JSP Again
Date Mon, 31 Mar 2003 21:41:29 GMT
<html><div style='background-color:'><DIV>Hi all, </DIV>
<DIV></DIV>
<P>Previously I've had problem with JSP but I was able to fix it. Then I was using older
version of Cocoon and Tomcat as the server. Now I'm using cocoon-2.0.4 on JBoss 3.0.4. Both
JSP Generator and JSPReader do not seem to work. I tried adding jasper-compiler.jar and jasper-runtime.jar
to WEB-INF/lib in my cocoon. Still it does not like it. Without adding jasper-runtime, I get
error regarding jasper-runtime. After adding it I get the following error: </P>
<DIV></DIV>
<DIV></DIV>org.apache.jasper.JasperException: Unable to compile class for JSPNote:
sun.tools.javac.Main has been deprecated. 
<DIV></DIV>
<DIV></DIV>C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\Jetty_0_0_0_0_8080__ssfxml\ssftalklets\samples\jsp\hello$jsp.java:67:
Incompatible type for method. Explicit cast needed to convert java.lang.Throwable to java.lang.Exception.

<DIV></DIV>if (pageContext != null) pageContext.handlePageException(t); 
<DIV></DIV>^ 
<DIV></DIV>1 error, 1 warning 
<DIV></DIV>
<DIV></DIV>at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) 
<DIV></DIV>at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)

<DIV></DIV>at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)

<DIV></DIV>
<P>............... </P>
<DIV></DIV>
<DIV></DIV>
<P>Addition of jasper-compiler.jar makes no difference. Has anyone been able to get
JSP to work with cocoon-2.0.4 on JBoss Server ?? </P>
<DIV></DIV>
<DIV></DIV>Sushil</div><br clear=all><hr>Help STOP SPAM with
<a href="http://g.msn.com/8HMBENUS/2731">the new MSN 8 </a> and get 2 months FREE*</html>

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message