[opencms-dev] More on replicating URL
Bill Edwards
wse at jimmy.harvard.edu
Tue Dec 11 23:16:38 CET 2007
We are also seeing messages similar to the following in opencms.log:
11 Dec 2007 16:11:29,318 ERROR [ina.core.ApplicationDispatcher: 704]
Servlet.service() for servlet jsp threw exception
com.opencms.legacy.CmsLegacyException: File not found: /opencms/
opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
opencms/opencms/opencms/opencms/opencms/training/lesson02/yoda.gif/
system/modules/org.frontier.ecog.docs/resources/ecogcctemplate/
ccheader.gif/training/lesson03/example4.jsp../lesson03/
example4.jsptest.htmltest.htmltest.htmltest.htmltest.htmltest.htmltest.h
tmltest.htmltest.htmltest.htmltest.htmltest.htmltest.htmltest.htmltest.h
tmltest.htmltest.htmltest.htmltest.htmltest.htmltest.htmltest.htmltest.h
tmltest.htmltest.htmltest.htmltest.htmltest.htmltest.htmlcrazy.html/
system/modules/org.frontier.ecog.docs/resources/ecogcctemplate/
ccheader.gif/system/modules/org.frontier.ecog.docs/resources/
ecogcctemplate/ccheader.giftest.htmlcrazy.htmlthird.html./
webtest_text.txt
Thanks. -- Bill Edwards
On Dec 11, 2007, at 4:42 PM, Bill Edwards wrote:
Hi all--the following JSP:
<%@ page session="false" import= "java.util.*, org.opencms.jsp.*" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<%
// Create a JSP action element
org.opencms.jsp.CmsJspActionElement cms = new CmsJspActionElement
(pageContext, request, response);
String testlink = cms.link("test.html");
out.println("<p/>testlink using CmsJspActionElement cms.link:<p/>
" + testlink);
%>
<p/>
Now using cms:link tag:<p/>
<cms:link>test.html</cms:link>
is producing output similar to the following under both OpenCMS 6.2.3
and 7.0.2:
testlink using CmsJspActionElement cms.link:
/opencms/opencms/ecog_mcltest/test.html
Now using cms:link tag:
/opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
opencms/opencms/opencms/opencms/opencms/opencms/opencms/opencms/
opencms/opencms/system/modules/com.alkacon.documentation/resources/
alkacon.css../resources/logo_alkacon.gif../resources/
logo_opencms.gif../resources/empty.gif/ECOG_CC_Site/index.html/
ECOG_www/index.html/ECOG_CC_Site/search_result.html/ECOG_CC_Site/
index.html/ECOG_www/index.html/system/search_result.html/ECOG_CC_Site/
index.html/ECOG_www/index.html/system/search_result.html../resources/
alkacon.css../resources/logo_alkacon.gif../resources/
logo_opencms.gif../resources/empty.gifindex.htmltest_tag_user.jsp../
index.htmlbroken.htmltest.htmltest.htmlstyle.csstest.html
We are seeing this with any JSP that uses <cms:link>. Has anybody
run into this phenomenon? Thanks very much!
-- Bill Edwards, Senior Programmer
Frontier Science Technology Research Foundation/
Eastern Cooperative Oncology Group
wse at jimmy.harvard.edu
More information about the opencms-dev
mailing list