thnks
but i dont want to use java file coz it made me recompile everytime i update the file.
so, cant i use with xsp?
cheers
-----Original Message-----
From: Ivan Luzyanin [mailto:[EMAIL PROTECTED]]
Sent: 27 November 2002 16:24
To: [EMAIL PROTECTED]
Cc: Hong Gia Dinh
Subject: Re: xsp !!!
> Hi all
> I got a problem and tried to solve it!
> i want to have a common 'common.xsp' file containing all the common values
> and i have other personal files that uses all the common values!
> so how can i use it ?? can i include/import a xsp file in oter xsp file?
> i tried to use aggregate but it doesn't work!
>
> can u all show me?
> Cheers
Place your common values into simple JavaClass file "CommonConstants.java" and
then import one in any XSP:
<xsp:page>
<xsp:structure>
<xsp:import>&pkg;.CommonConstants</xsp:import>
</xsp:structure>
<xsp:logic>
int foo = CommonConstants.BAR;
</xsp:logic>
</xsp:page>
Ivan.