[opencms-dev] <%@ include file="some_file.jsp" %>
Anatol
opencms at recordcaster.de
Thu May 4 23:16:59 CEST 2006
Hi LuKe,
an important information: within the by <cms:include ..> included file
you have a separated namespaces!! If you define a variable in the
parameters.jsp you can access this var _only_ in the parameters.jsp. In
the mainfile you have NO access to this var!
One option is to send the var in the requestScope (within the
parameters.jsp) an reload it from the requestScope outside the
parameters.jsp.
An other option is the way Robert told in his mail. You can write a
class (a bean) and get all the information you need from there.
greetings
Anatol
lk schrieb:
> Anatol wrote:
>> Hi,
>>
>> lk schrieb:
>>> I need to include some variables I defined in a jsp file.
>>> I've tried to include this jsp code:
>>> <%@ include file="/system/shared/inc/parameters.jsp" %>
>>> but the file "parameters.jsp" is not found.
>>>
> Hi Anatol,
>
> Thanks for your answer.
>
> I've tried to use the include tag but it doesn't work properly.
> I've used:
> <cms:include file="/system/shared/inc/parameters.jsp" />
>
> It seems that I cannot use the jsp variables set in the files
> parameters.jsp.
>
> Any advices?
>
> ByE
>
> LuKe
>
>
>
> --
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>
> Sponsor:
> Vuoi cambiare i tuoi interessi ma non la tua banca? Prova con Conto
> Arancio
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5039&d=4-5
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
More information about the opencms-dev
mailing list