ssh框架遇到的问题一!

问题描述:
org.apache.jasper.JasperException: The Struts dispatcher cannot be found.  This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher needed for this tag.
解决办法:
1、JSP页面中没有加入类似下面内容:
<%@ taglib prefix="s" uri="/struts-tags"%>
2、拦截器不是/*
 
  	struts2
  	
  		 org.apache.struts2.dispatcher.FilterDispatcher 
  	
  

   struts2
   /*
3、还有就是如果你用的是高版本的开发工具,如果改了之后都没用,那就remove项目,关闭tomcat,然后在工作区删除项目,重启myecplise,重新导入项目,在运行就行了!

你可能感兴趣的:(sun,框架,myeclipse,filter,web开发)