<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY style="COLOR: #000000; FONT-FAMILY: Arial" bgColor=#ffffff>
<DIV><FONT size=2>Hi,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>We used this for bread crump:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><%</FONT></DIV>
<DIV><FONT size=2>// Create a JSP action element<BR>CmsJspActionElement cms =
new CmsJspActionElement(pageContext, request, response);</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>// Create a string of requested file<BR>String filename =
cms.getRequestContext().getUri();</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>int real = 0;<BR>int x = 0;<BR>String target = "";<BR>while(x
< filename.lastIndexOf("/")){<BR> if (filename.charAt(x) == '/')
{<BR> real = x;<BR> x = x + 1;<BR> while
(filename.charAt(x) != '/') x = x + 1;<BR> target = target + "/" +
filename.substring(real + 1, x);<BR> out.println("<a href=\"" +
cms.link(target + "/index.html") + "\">" + filename.substring(real + 1, x) +
"</a>" + " :
");<BR> }<BR>}<BR>out.println(filename.substring(filename.lastIndexOf("/")+1));</FONT></DIV>
<DIV><FONT size=2>%></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Hope it's help.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Best regards, Ivan.</FONT></DIV></BODY></HTML>