thanks upayavira for ur suggestions..but thats what i did already..and it
never worked. i know its so simple but consider me as newbie. and help me
out. thanks alot

-----Original Message-----
From: Upayavira [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 10:09 AM
To: [EMAIL PROTECTED]
Subject: Re: how to creat object of a class in xsp


Reuben,

Let me have a go at clarifying this:

Firstly, make sure you've got:

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

 at the beginning of your file.


Then, make sure that test.class is in $COCOON/WEB-INF/classes/

Then do your code:

<xsp:logic>
Test t=new Test();
</xsp:logic>

Isn't it as simple as that?

Regards, Upayavira

Reuben Christie wrote:

>thank you very much all of you guys..but I m so sorry..i tried all the
>suggestions all of you guys made. but none of them are working..can you
>again clearify with me where exactly i should put  my Test.class.
>i tried putting them following places..\
>1) same folder where i have x
>
>-----Original Message-----
>From: Antonio Gallardo [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 20, 2003 8:17 PM
>To: [EMAIL PROTECTED]
>Subject: Re: how to creat object of a class in xsp
>
>
>Hi Reuben:
>
>Reuben Christie dijo:
>
>
>><xsp:logic>
>>Test t=new Test();
>>......
>>......
>></xsp:logic>
>>
>>
>
>You need to include the "import" for the classes in your XSP page. Use:
>
>xsp:structure && xsp:include
>
>The error below is clear:
>
>
>>Line 68, column 3:  class Test not found in class
>>
>>
>
>More info about XSP in wiki:
>
>http://wiki.cocoondev.org/Wiki.jsp?page=XSP
>
>Best Regards,
>
>Antonio Gallardo
>
>
>
>---------------------------------------------------------------------
>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]
>
>
>
>



---------------------------------------------------------------------
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