主题 : 请教两个站点之间,数据调用的问题 |
级别: 举人
|
5# 发表于:2011-06-30 15:31:39 IP:111.5.*.*
[@cms_channel_list siteId='1' parentId='204'
这样直接调用的话,是可以显示列表的 但是后面的 [@cms_channel_list siteId='1' parentId='204'][#list tag_list as c] [#if c.id==channel.id] <li><a href="${c.url}" target="_self" class="active">${c.name}</a></li> [#else] <li><a href="${c.url}" target="_self">${c.name}</a></li> [/#if] [/#list][/@cms_channel_list] 点击链接的话,就无法显示,出现的是: HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.context.ApplicationContextException: Could not load FreeMarker template for URL [/WEB-INF/t/cms/zhishiguanli/zsgl/common/页面没有找到.html]; nested exception is java.io.FileNotFoundException: Template /WEB-INF/t/cms/zhishiguanli/zsgl/common/页面没有找到.html not found. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:656) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549) javax.servlet.http.HttpServlet.service(HttpServlet.java:621) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) com.jeecms.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:38) 还有一次调用列表的时候,是可以显示目录的,但是看内容的时候,又显示的是站点1的模板,怎么变成站点2的模板 |
||
---|---|---|---|
1
共1页