<P>
Thanks.<BR>
<BR>
Is there any other way to handle this?<BR>
<BR>
Actually I have my website in different languages so the scenario is that i check what language it is and then include the file with that language constants and then use those constants and the different if conditions are for different languages.<BR>
<BR>
Thanks<BR>
Ayvid<BR>
<BR>
<BR>
On Tue, 28 Sep 2004 Tim Howland wrote :<BR>
>I believe you can do this with the JSTL tag library- look at the Core<BR>
>tags.<BR>
><BR>
><BR>
><%-- Declare the core library --%><BR>
>     <%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %><BR>
><BR>
>     <%-- Simple if conditions --%><BR>
>     <c:if test='${param.p == "someValue"}'><BR>
>     <cms:include ...><BR>
>     </c:if><BR>
><BR>
>check out http://javaalmanac.com/egs/javax.servlet.jsp.jstl.core/if.html<BR>
><BR>
>Tim<BR>
><BR>
>   _____<BR>
><BR>
> From: Ayvid B [mailto:ayvid_bh@rediffmail.com]<BR>
>Sent: Monday, September 27, 2004 2:30 PM<BR>
>To: The OpenCms mailing list<BR>
>Subject: [opencms-dev] cms.include function<BR>
><BR>
><BR>
><BR>
><BR>
>Hi<BR>
><BR>
>I want to use cms.include function with the paramater as the jsp file<BR>
>name but with the conditional if statement around the cms.include.<BR>
><BR>
>For example:<BR>
><BR>
>if(condition x)<BR>
>     cms.include("file1.jsp")<BR>
>elseif(condition y)<BR>
>     cms.include("file2.jsp")<BR>
>else<BR>
>   cms.include("file3.jsp")<BR>
><BR>
>Could anyone please let me know if this is possible or not.If not then<BR>
>what could be the other option.<BR>
><BR>
>Thanks,<BR>
>Ayvid<BR>
><BR>
><BR>
><BR>
><BR>
><BR>
>  <http://clients.rediff.com/signature/track_sig.asp><BR>

</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>