[opencms-dev] problem with taglib cms

Federico Locci flocci at energit.it
Fri Jul 25 09:43:01 CEST 2003


hi,
i  must leave the semicolon out of this expression but don't function:
i've written

  <cms:template element="dinamic_page">
                   <cms:include page=<%=request.getParameter("page")%> />
       </cms:template>
the error is : org.apache.jasper.JasperException:
/WEB-INF/jsp/offline/release/Aiget/html/Associazione/index.jsp.jsp(24,38)
quote symbol expected

but if i write :
<cms:template element="dinamic_page">
                   <cms:include page="<%="request.getParameter("page")%>" />
       </cms:template>
the error is:

org.apache.jasper.JasperException: File not found:
 /release//html/Associazione/<%=request.getparameter(page)%>
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
54)

why the system write getparameter if i i'm writting in my file getParameter
???



The all for help , bye
----- Original Message -----
From: "Stephan Hartmann" <beffe at beffe.de>
To: <opencms-dev at opencms.org>
Sent: Thursday, July 24, 2003 10:01 PM
Subject: Re: [opencms-dev] problem with taglib cms


> It's not a problem with the taglib.
> You must leave the semicolon out of this expression:
> <%= request.getParameter("page") %>
>
> Bye,
> Stephan
>
> Am Don, 2003-07-24 um 17.08 schrieb Federico Locci:
> > VuotoHi all,
> >
> > I' ve a little problem with taglibs
> >
> > <cms:template element="dinamic_page">
> >                   <cms:include page="<%=request.getParameter("page");%>"
/>
> >  </cms:template>
> >
> >
> > not function why ???
> >
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>




More information about the opencms-dev mailing list