cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Billard" <obill...@rennes.jouve.fr>
Subject Re: import classes in xsp page
Date Fri, 11 Apr 2003 15:12:04 GMT
Hi Lionel

If "myclass" is a class and not a package, you must write :
<xsp:structure>
  <xsp:include>mypackage.myclass</xsp:include>
</xsp:structure>


--
Olivier

----- Original Message -----
From: "Lionel Crine" <crine@4dconcept.fr>
To: <cocoon-users@xml.apache.org>
Sent: Friday, April 11, 2003 5:07 PM
Subject: import classes in xsp page


> I'd like to import my own classes that are in
> webapps/cocoon-dev/WEB-INF/classes/mypackage:
>
> Here is what i wrote :
>
> <xsp:structure
>   <xsp:include>mypackage.myclass.*</xsp:include>
> </xsp:structure>
>
>
> When I call the constructor in th <xsp:logic> tag I get the message error:
>
>
> Line 148, column 0:  class myclass not found in class
> org.apache.cocoon.www.RLR.projet.xsp.check_login_xsp
> Line 148, column 32:  class myclass not found in class
> org.apache.cocoon.www.RLR.projet.xsp.check_login_xsp
>
>
> Lionel
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>


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