but i do not have any package.. its right there inthe same folder where the
.xsp file is.

do u mean to say , i have to have a package inside the folder and then put
my Test.class init ?
-----Original Message-----
From: Joerg Heinicke [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2003 1:36 PM
To: [EMAIL PROTECTED]
Subject: Re: how to create object of an external class ?


Additionaly you need to import your class:

<xsp:structure>
     <xsp:include>package.Test</xsp:include>
</xsp:structure>

Joerg

Reuben Christie wrote:
> hi all.. i m a newbie to cocoon. i m writing an xsp page..in that page i
> have a lines like this.
> <xsp:logic>
> Test t=new Test();
> ......
> ......
> </xsp:logic>
>
> and i cant get my xsp page compiled it gives erro that
>
> org.apache.cocoon.ProcessingException: Language Exception:
> org.apache.cocoon.components.language.LanguageException: Error compiling
> standardconfig_xsp:
> Line 68, column 3:  class Test not found in class
> org.apache.cocoon.www.pmp.documents.xsp.standardconfig_xsp
>
>
> can somebody throw some light on it? it will be a great help to me.
> NB: my Test.java and Test.class are both in the same folder with my xsp
> page.
> thanks inadvance
> reuben


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to