cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: [C2] XSP / keywords in directory names
Date Thu, 01 Mar 2001 11:14:38 GMT
Matthias,

As far as i know "static" is a java keyword and hence should not be in the package name. So
please
rename the directory and try again.

Thanks,
dims

--- "Matthias D. Herold" <mhe@javisto.com> wrote:
> Hello,
> 
> I just downloaded C2 and tried to write some XSP-Pages. It works fine, except
> when I want to load an XSP-file that is in a directory with the name of a java 
> keyword (for example: 'static/index.xsp').
> 
> DEBUG   16895   [cocoon  ] (Thread-10): Language Exception
> org.apache.cocoon.components.language.LanguageException: Error compiling index_xsp:
> Line 0, column 0:
> C:\old_prog\tomcat\work\localhost_8080%2Fstatic\org\apache\cocoon\static\index_xsp.java:3:
> Identifier expected.
> package org.apache.cocoon.static;
>                           ^
> Line 0, column 0:
> C:\old_prog\tomcat\work\localhost_8080%2Fstatic\org\apache\cocoon\static\index_xsp.java:59:
> Superclass XSPGenerator of class index_xsp not found.
> public class index_xsp extends XSPGenerator {
>                                ^
> 
> Tested on Win2000 / Sun JDK 1.3; latest Cocoon2-CVS.
> 
> 
> Regards,
> 
> Matthias
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Mime
View raw message