[opencms-dev] Impossible to use jsp declarations ?

Alexander Kandzior alex at opencms.org
Fri Jun 13 10:05:02 CEST 2003


Nicolas,

please post the relevant code of your JSP, otherwise I am unable to
help.

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com



> -----Original Message-----
> From: opencms-dev-admin at opencms.org 
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Nicolas Delsaux
> Sent: Friday, June 13, 2003 9:06 AM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Impossible to use jsp declarations ?
> 
> 
> Hi all
> Investigating my inclusion loop issue, I've found many 
> issues, and one 
> thing that seems really annoying to me. It seems that it's 
> impossible to 
> use jsp declarations in OpenCMS. Indeed, I've the following JSP
> 
> When commenting out the method, it renders correctly. But 
> when I try to 
> uncomment the method, I get the following error stack
> 
> 
> javax.servlet.ServletException: Resource loader error in file 
> '/system/modules/com.linagora.open-j2ee/elements/recursive_lister.jsp'
> 
> Root cause:
> org.apache.jasper.JasperException: Unable to compile class for JSP
> 
> An error occurred at line: -1 in the jsp file: null
> 
> Generated servlet error:
>     [javac] Since fork is true, ignoring compiler setting.
>     [javac] Compiling 1 source file
>     [javac] Since fork is true, ignoring compiler setting.
>     [javac] /home/ndelsaux/jakarta-tomcat- 
> 4.1.24/work/Standalone/localhost/opencms/WEB- 
> INF/jsp/offline/system/modules/com.linagora.open- 
> j2ee/elements/recursive_lister_jsp_jsp.java:19: illegal start 
> of expression
>     [javac]   private static java.util.Vector _jspx_includes;
>     [javac]   ^
>     [javac] /home/ndelsaux/jakarta-tomcat- 
> 4.1.24/work/Standalone/localhost/opencms/WEB- 
> INF/jsp/offline/system/modules/com.linagora.open- 
> j2ee/elements/recursive_lister_jsp_jsp.java:21: illegal start 
> of expression
>     [javac]   public java.util.List getIncludes() {
>     [javac]   ^
>     [javac] /home/ndelsaux/jakarta-tomcat- 
> 4.1.24/work/Standalone/localhost/opencms/WEB- 
> INF/jsp/offline/system/modules/com.linagora.open- 
> j2ee/elements/recursive_lister_jsp_jsp.java:112: ';' expected
>     [javac]     }
>     [javac]      ^
>     [javac] /home/ndelsaux/jakarta-tomcat- 
> 4.1.24/work/Standalone/localhost/opencms/WEB- 
> INF/jsp/offline/system/modules/com.linagora.open- 
> j2ee/elements/recursive_lister_jsp_jsp.java:11: 
> org.apache.jsp.recursive_lister_jsp_jsp should be declared 
> abstract; it 
> does not define 
> _jspService(javax.servlet.http.HttpServletRequest,javax.servle
> t.http.HttpServletResponse) 
>  in org.apache.jasper.runtime.HttpJspBase
>     [javac] public class recursive_lister_jsp_jsp extends 
> HttpJspBase {
>     [javac]        ^
>     [javac] 4 errors
> 
> with a bunch of stack trace following.
> Can any OpenCMS developper tell me how I can use methods in 
> jsp for OpenCMS 
> ?
> Thanks.
> 
> -- 
> Nicolas Delsaux
> Bientôt, il y aura ici une signature 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 




More information about the opencms-dev mailing list