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 exceptionjava.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.LoopTag
------解决方案--------------------
缺少jstl.jar
我的异常网推荐解决方案:Servlet.service() for servlet default threw exception,http://www.aiyiweb.com/eclipse/181756.html