当前位置: 代码迷 >> Java Web开发 >> org.apache.catalina.core.ApplicationDispatcher invoke Servlet.service() for se解决思路
  详细解决方案

org.apache.catalina.core.ApplicationDispatcher invoke Servlet.service() for se解决思路

热度:11078   发布时间:2013-02-25 21:20:36.0
org.apache.catalina.core.ApplicationDispatcher invoke Servlet.service() for se
//NewsAction.java

/**
* 显示
* @return
*/
public String showNews(){
String string = "";
try {
list = newsService.queryNews("from com.sinosoft.canshishi.pojo.News", null, number, pageSize);
string = "showNews";
} catch (Exception e) {
e.printStackTrace();
string = "error";
}
return string;
}



<!-- shouNews.jsp -->

  <c:forEach items="${list}" var="list">
  <!-- ${list.maintitle } <br/> -->
  <c:out value="${list.maintitle}"></c:out>
  </c:forEach>



2012-5-14 9:24:45 org.apache.catalina.core.ApplicationDispatcher invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.LoopTag



------解决方案--------------------------------------------------------
缺少jstl.jar
  相关解决方案