• struts学习


    1.集成tomcat到eclipse

    http://www.eclipsetotale.com/tomcatPlugin.html

    下载最新的plug后,解压。解压后的文件放到eclipse的plug目录中

    2.使用struts配置文件web.xml/struts-config.xml中的元素必须按照dtd文档定义顺序书写,即遵从了dtd定义顺序。

      常见的错误是顺序错误导致不能识别。例如web.xml文件中

      <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
      </welcome-file-list>

    放到servlet或者servlet-mapping前会报错,找不到相应的资源。

    3.继承struts 的Action必须实现的是execute方法而非perform方法,perform用在struts1.0,Perform()is Depricated in Struts 1.1.而是用execute方法

    4.调试web工程需要开启debug server进行断点调试。

  • 相关阅读:
    DOM操作之获取HTML、文本和值
    DOM操作之属性和样式操作
    DOM节点的增删改查
    其他选择器
    属性过滤选择器
    Linux
    Linux
    Appium自动化(3)
    Appium自动化(2)
    Appium自动化(1)
  • 原文地址:https://www.cnblogs.com/davidwang456/p/3163242.html
Copyright © 2020-2023  润新知