<div>hi, Bill Edwards</div>
<div> </div>
<div> I run your jsp file on my computer 7.0.2, the output is the following lines:</div>
<div> </div>
<div>// Start ------------------------------------------------------------</div>
<div>testlink using CmsJspActionElement cms.link: <br>/test.html <br>Now using cms:link tag: <br>/test.html</div>
<div>// End ------------------------------------------------------------</div>
<div> </div>
<div> By the way, I have configured multi-sites in my OpenCms, I use the following link to test your jsp file:</div>
<div><a href="http://localhost/test.jsp">http://localhost/test.jsp</a></div>
<div> </div>
<div>Stanley</div>
<p><br><br> </p>
<div><span class="gmail_quote">On 12/12/07, <b class="gmail_sendername">Bill Edwards</b> <<a href="mailto:wse@jimmy.harvard.edu">wse@jimmy.harvard.edu</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">We are also seeing messages similar to the following in opencms.log:<br><br>11 Dec 2007 16:11:29,318 ERROR [
ina.core.ApplicationDispatcher: 704]<br>Servlet.service() for servlet jsp threw exception<br>com.opencms.legacy.CmsLegacyException: File not found: /opencms/<br>opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
<br>opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/<br>opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/<br>opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/<br>opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
<br>opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/<br>opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/<br>opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/<br>opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
<br>opencms/opencms/opencms/opencms/opencms/training/lesson02/yoda.gif/<br>system/modules/org.frontier.ecog.docs/resources/ecogcctemplate/<br>ccheader.gif/training/lesson03/example4.jsp../lesson03/<br>example4.jsptest.htmltest.htmltest.htmltest.htmltest.htmltest.htmltest.h
<br>tmltest.htmltest.htmltest.htmltest.htmltest.htmltest.htmltest.htmltest.h<br>tmltest.htmltest.htmltest.htmltest.htmltest.htmltest.htmltest.htmltest.h<br>tmltest.htmltest.htmltest.htmltest.htmltest.htmltest.htmlcrazy.html
/<br>system/modules/org.frontier.ecog.docs/resources/ecogcctemplate/<br>ccheader.gif/system/modules/org.frontier.ecog.docs/resources/<br>ecogcctemplate/ccheader.giftest.htmlcrazy.htmlthird.html./<br>webtest_text.txt<br><br>
Thanks. -- Bill Edwards<br><br>On Dec 11, 2007, at 4:42 PM, Bill Edwards wrote:<br><br>Hi all--the following JSP:<br><br><%@ page session="false" import= "java.util.*, org.opencms.jsp.*" %><br><%@ taglib prefix="cms" uri="
<a href="http://www.opencms.org/taglib/cms">http://www.opencms.org/taglib/cms</a>" %><br><%<br> // Create a JSP action element<br> org.opencms.jsp.CmsJspActionElement cms = new CmsJspActionElement<br>(pageContext, request, response);
<br><br> String testlink = cms.link("test.html");<br><br> out.println("<p/>testlink using CmsJspActionElement cms.link:<p/><br>" + testlink);<br>%><br><p/><br>Now using cms:link tag:<p/>
<br><cms:link>test.html</cms:link><br><br>is producing output similar to the following under both OpenCMS 6.2.3<br>and 7.0.2:<br><br>testlink using CmsJspActionElement cms.link:<br><br>/opencms/opencms/ecog_mcltest/test.html
<br><br>Now using cms:link tag:<br><br>/opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/<br>opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/<br>opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
<br>opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/<br>opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/<br>opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/<br>opencms/opencms/system/modules/com.alkacon.documentation/resources/
<br>alkacon.css../resources/logo_alkacon.gif../resources/<br>logo_opencms.gif../resources/empty.gif/ECOG_CC_Site/index.html/<br>ECOG_www/index.html/ECOG_CC_Site/search_result.html/ECOG_CC_Site/<br>index.html/ECOG_www/index.html/system/search_result.html/ECOG_CC_Site/
<br>index.html/ECOG_www/index.html/system/search_result.html../resources/<br>alkacon.css../resources/logo_alkacon.gif../resources/<br>logo_opencms.gif../resources/empty.gifindex.htmltest_tag_user.jsp../<br>index.htmlbroken.htmltest.htmltest.htmlstyle.csstest.html
<br><br>We are seeing this with any JSP that uses <cms:link>. Has anybody<br>run into this phenomenon? Thanks very much!<br><br>-- Bill Edwards, Senior Programmer<br> Frontier Science Technology Research Foundation/
<br> Eastern Cooperative Oncology Group<br> <a href="mailto:wse@jimmy.harvard.edu">wse@jimmy.harvard.edu</a><br><br><br><br><br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list
<br>To change your list options, or to unsubscribe from the list, please visit<br><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></div>
<br>