Home>

I am upgrading from Struts to Sprng in Eclipse, but the include tag did not work in the JSP part, and the following error message occurred.

Error message

Servlet.service () for servlet [appServlet] in context with path [/ jkm-web-gjm] threw exception [Request processing failed;nested exception is org.apache.tiles.impl.CannotRenderException: org.apache.tiles .util.TilesIOException: JSPException including path'/WEB-INF/views/acom/acom007.jsp&apos ;.] with root cause

Error message
Applicable source code
Source code


<% @ page language ="java"contentType ="text/html;charset = UTF-8"%>
<% @ include file ="../ gcom/noCache.jsp"%>
<% @ taglib uri ="http: //java.sun.com/jsp/jstl/fmt"prefix ="fmt"%>
<% @ taglib uri ="http: //www.springframework.org/tags/form"prefix ="form"%>
<% @ taglib uri ="http: //www.springframework.org/tags"prefix ="spring"%>
<% @ taglib uri ="http: //java.sun.com/jsp/jstl/functions"prefix ="fn"%>
<% @ taglib prefix ="c"uri ="http: //java.sun.com/jsp/jstl/core"%>
<% @ taglib uri ="/jkmTagLib"prefix ="jkm"%>

<script lang ="javascript">
window.onload = function () {
gcom007Init ();
}
</script>

<spring: url var ="gcom007Init"value ="/GCOM007/GCOM007Init"/>

<form: form modelAttribute ="gcom007s01Form"action ="${gcom007Query}"method ="post"id ="gcom007s01Form">

<c: set var ="paramHaken"property ="paramHaken"/>
<c: set var ="paramSearch"property ="paramSearch"/>
<c: set var ="paramQT1"property ="paramQT1"/>
<c: set var ="paramQT2"property ="paramQT2"/>
<c: set var ="paramQT3"property ="paramQT3"/>
<c: set var ="paramQT4"property ="paramQT4"/>
<c: set var ="paramQT5"property ="paramQT5"/>

<%-Check Tokyo area An error occurred in this part-%>
<jsp: include page ="../ gcom/gcom007tokyoArea.jsp"></jsp: include>

<form: hidden path ="qt1"/>
<form: hidden path ="qt2"/>
<form: hidden path ="qt3"/>
<form: hidden path ="qt4"/>
<form: hidden path ="qt5"/>

Tried

I checked if there was a setting such as<include-prelude>in web.xml, but it was not found.

Supplemental information (FW/tool version etc.)

I'm worried if I can understand this information. I would like a professor.

Although it is only a little above the jsp in the Tokyo area to fly to, the source is also placed below.

<% @ page language ="java"contentType ="text/html;charset = UTF-8"%>
<% @ include file ="../ gcom/noCache.jsp"%>
<% @ taglib uri ="http: //java.sun.com/jsp/jstl/fmt"prefix ="fmt"%>
<% @ taglib uri ="http: //www.springframework.org/tags/form"prefix ="form"%>
<% @ taglib uri ="http: //www.springframework.org/tags"prefix ="spring"%>
<% @ taglib uri ="http: //java.sun.com/jsp/jstl/functions"prefix ="fn"%>
<% @ taglib prefix ="c"uri ="http: //java.sun.com/jsp/jstl/core"%>
<% @ taglib uri ="/jkmTagLib"prefix ="jkm"%>

<c: out value ="Get out Tokyo"/>

<%-Get URL parameter from caller screen-%>
<c: set var ="paramHaken"value ="paramHanken"/>
<c: set var ="paramSearch"value ="paramSearch"/>
<c: set var ="paramQT1"value ="paramQT1"/>
<c: set var ="paramQT2"value ="paramQT2"/>
<c: set var ="paramQT3"value ="paramQT3"/>
<c: set var ="paramQT4"value ="paramQT4"/>
<c: set var ="paramQT5"value ="paramQT5"/>

<c: if test ="${acom007s01Form.chubunArea =='true'}">
<c: set var ="dH"value ="856"/>