瀏覽代碼

add contextPath

Shinsuke Sugaya 10 年之前
父節點
當前提交
e7eb7e72c8

+ 1 - 1
src/main/webapp/WEB-INF/view/admin/scheduledjob/index.jsp

@@ -73,7 +73,7 @@
 										</thead>
 										</thead>
 										<tbody>
 										<tbody>
 											<c:forEach var="data" varStatus="s" items="${scheduledJobItems}">
 											<c:forEach var="data" varStatus="s" items="${scheduledJobItems}">
-												<tr class="${s.index % 2 == 0 ? 'row1' : 'row2'}" data-href="confirmpage/4/${f:u(data.id)}">
+												<tr class="${s.index % 2 == 0 ? 'row1' : 'row2'}" data-href="${contextPath}/admin/scheduledjob/confirmpage/4/${f:u(data.id)}">
 														<td>${f:h(data.name)}</td>
 														<td>${f:h(data.name)}</td>
 														<td>
 														<td>
 																<c:if test="${data.running}">
 																<c:if test="${data.running}">

+ 1 - 1
src/main/webapp/WEB-INF/view/common/common.jsp

@@ -4,4 +4,4 @@
  --%><%@taglib prefix="la" uri="http://lastaflute.org/latags" %><%--
  --%><%@taglib prefix="la" uri="http://lastaflute.org/latags" %><%--
  --%><%@taglib prefix="f" uri="http://lastaflute.org/functions" %><%--
  --%><%@taglib prefix="f" uri="http://lastaflute.org/functions" %><%--
  --%><%@taglib prefix="fe" uri="http://fess.codelibs.org/functions" %><%--
  --%><%@taglib prefix="fe" uri="http://fess.codelibs.org/functions" %><%--
- --%><c:set var="contextPath" value="${request.contextPath}"/>
+ --%><c:set var="contextPath" value="${pageContext.request.contextPath}"/>