cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reuben Christie" <rchris...@decisiontech.com>
Subject RE: how to creat object of a class in xsp
Date Thu, 21 Aug 2003 16:08:05 GMT
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:uv@upaya.co.uk]
Sent: Thursday, August 21, 2003 10:09 AM
To: users@cocoon.apache.org
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:agallardo@agsoftware.dnsalias.com]
>Sent: Wednesday, August 20, 2003 8:17 PM
>To: users@cocoon.apache.org
>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: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message