zoukankan      html  css  js  c++  java
  • struts2学习笔记-搭建Struts2开发环境--开发Struts2应用依赖的jar文件

    开发Struts 2程序最少需要的JAR。

    struts2-core-2.x.x.jar :Struts 2框架的核心类库

    xwork-core-2.x.x.jar :XWork类库,Struts 2在其上构建

    ognl-2.6.x.jar :对象图导航语言(Object Graph Navigation Language),struts2框架通过其读写对象的属性

    freemarker-2.3.x.jar :Struts 2的UI标签的模板使用FreeMarker编写

    commons-logging-1.x.x.jar :ASF出品的日志包,Struts 2框架使用这个日志包来支持Log4J和JDK 1.4+的日志记录。

    commons-fileupload-1.2.1.jar 文件上传组件,2.1.6版本后必须加入此文件

    Struts2默认的配置文件为struts.xml ,该文件需要存放在WEB-INF/classes下,该文件的配置模版如下:

    <?xml version="1.0" encoding="UTF-8"?>
    
    <!DOCTYPE struts PUBLIC
    
        "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    
        "http://struts.apache.org/dtds/struts-2.0.dtd">
    
    <struts>
    
    </struts>
  • 相关阅读:
    【CF989E】A Trance of Nightfall
    [SHOI2012]信用卡凸包
    [HNOI2016]最小公倍数
    [HNOI2012]射箭
    [SCOI2015]小凸想跑步
    [CQOI2006]凸多边形
    ### Hadoop
    ### awk
    ### Theano
    ### Python Learning
  • 原文地址:https://www.cnblogs.com/Null2051/p/3181365.html
Copyright © 2011-2022 走看看