cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Wechsler" <johannes.wechsler.exter...@mchp.siemens.de>
Subject Import packages and classes
Date Fri, 30 Aug 2002 13:14:25 GMT
Hi,
I intend to include a class file into a xsp.

My Code (cutting):

<xsp:structure>
   <xsp:include>MyClass</xsp:include>
 </xsp:structure>

<xsp:logic>
  MyClass example = new MyClass();
</xsp:logic>

Following error message appears:
class MyClass not found in class org.apache.cocoon.www.dev.hello_xsp

My questions:
- Do I have to store the MyClass.class file in a special folder (like
WEB-INF\classes)? In which one?
- What do I have to do that Tomcat/Cocoon recognises my class file?
   (Adding the directory where the file is stored to the Classpath didn't
result in any success)
- The same problem occurs with packages. What points do I have to attend
here?

Regards,
Johannes

----------------------------------
Operating system: Windows 2000
Tomcat: 4.0.4
JDK: 1.4.0
Cocoon: 2.0.3


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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