Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/unity3d/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 使用的可能性<;c:进口>;春天的景色_Java_Spring_Jsp_Spring Mvc_Jstl - Fatal编程技术网

Java 使用的可能性<;c:进口>;春天的景色

Java 使用的可能性<;c:进口>;春天的景色,java,spring,jsp,spring-mvc,jstl,Java,Spring,Jsp,Spring Mvc,Jstl,我想知道是否有可能使用JSTL函数导入spring视图 所以像这样的事情: <div id="contentHolder"> <c:import url="/foo.do?bar" /> </div> 以下方式也不起作用: 您可以尝试url的完整路径您可以尝试url的完整路径 <!-- Viewresolver --> <b:bean id="viewResolver" class="org.springframework.web

我想知道是否有可能使用JSTL函数导入spring视图

所以像这样的事情:

<div id="contentHolder">
     <c:import url="/foo.do?bar" />
</div>
以下方式也不起作用:
您可以尝试url的完整路径

您可以尝试url的完整路径

<!-- Viewresolver -->
<b:bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
    <b:property name="viewClass"><b:value>org.springframework.web.servlet.view.JstlView</b:value></b:property>
    <b:property name="prefix"><b:value>/WEB-INF/jsp/</b:value></b:property>
    <b:property name="suffix"><b:value>.jsp</b:value></b:property>
</b:bean> 
 Circular view path [/WEB-INF/jsp/foo/index.jsp]: already dispatched to this view path within the same request [/BAR/WEB-INF/jsp/foo/index.jsp]. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)