正文

关于jsp版ueditor1.2.5的部分问题解决(上传图片失败)(javascript无序列表)一看就会

文章摘要

这篇文章主要介绍了在Java EE框架中使用Struts 2时的配置问题。内容提到在配置Struts 2时,需要将默认的拦截器`org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter`替换为自定义的`MyStrutsFilter`,以避免404错误。文章还提到,通过在配置文件中正确设置过滤器路径和名称,可以有效解决这些问题。文章强调了对配置文件的正确理解对于良好应用运行的重要性。

 xmlns=”http://java.sun.com/xml/ns/javaee”

 xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”

 xsi:schemaLocation=”http://java.sun.com/xml/ns/javaee

 http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd”>

    index.jsp

        30   

  struts2

        cn.xyx.web.filter.MyStrutsFilter

         注意这里替换了默认的struts2的 拦截器 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter –>

  struts2

  /*

   404

   /404.jsp