<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=597120813-16092004>Adding
to this,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=597120813-16092004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=597120813-16092004>The
site is a plain HTML site and hence no JSP/action classes. Still the user
traverses from one link to another link in the website using links defined like
this</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=597120813-16092004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=597120813-16092004>.../index.html?state=CA</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=597120813-16092004>.../index.html?state=NY</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=597120813-16092004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=597120813-16092004>The
index.html page just differs in some images based on the request parameters i.e.
the images for CA and NY are different. The problem is compounded by the fact
that we have mulitple such combinations possible based on more request
parameters i.e. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=597120813-16092004>.../index.html?state=CA&city=LA</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=597120813-16092004>.../index.html?state=CA&city=LA&county=xyz</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=597120813-16092004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=597120813-16092004>thus by defining a page for each
combination would amount to huge effort i.e. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=597120813-16092004>index_stateCA.html, index_stateCAcityLA.html and so
on</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=597120813-16092004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=597120813-16092004>We
want to avoid this by simply attaching a condition to part of the content
written on the page. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=597120813-16092004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=597120813-16092004>Regards,<BR>Vikas</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=597120813-16092004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=597120813-16092004> </SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> ashish malhotra
[mailto:malhotra_roorkee@yahoo.co.in] <BR><B>Sent:</B> Thursday, September 16,
2004 6:18 PM<BR><B>To:</B> opencms-dev@opencms.org<BR><B>Subject:</B>
[opencms-dev] (no subject)<BR><BR></FONT></DIV>
<DIV>Hi </DIV>
<DIV> </DIV>
<DIV> I want to hide/show some content of
the page depending on the request parameter.For e.g:to render different images
for different users depending on the request parameters.</DIV>
<DIV> </DIV>
<DIV>But i dont want this logic to be coded in the Action class or jsp's</DIV>
<DIV> </DIV>
<DIV>regards</DIV>
<DIV>Ashish Malhotra</DIV>
<DIV> </DIV>
<P><FONT face=arial size=-1><A
href="http://in.rd.yahoo.com/specials/mailtg/*http://yahoo.shaadi.com/india-matrimony/"
target=_blank><B>Yahoo! India Matrimony</A>:</B> Find your life partner <A
href="http://in.rd.yahoo.com/specials/mailtg2/*http://yahoo.shaadi.com/india-matrimony/"
target=_blank>online</A>.</FONT></P></BLOCKQUOTE></BODY></HTML>