caiguoxing的专栏

经验笔记

webwork 配置文件 web.xml通用格式

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>

 <servlet>
<servlet-name>webwork</servlet-name>
<servlet-class>com.opensymphony.webwork.dispatcher.ServletDispatcher</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>webwork</servlet-name>
<url-pattern>*.action</url-pattern>
</servlet-mapping>
 
    <taglib>
        <taglib-uri>webwork</taglib-uri>
        <taglib-location>/WEB-INF/webwork.tld</taglib-location>
    </taglib>

    <taglib>
        <taglib-uri>benchmark</taglib-uri>
        <taglib-location>/WEB-INF/taglibs-benchmark.tld</taglib-location>
    </taglib>

    <taglib>
        <taglib-uri>c</taglib-uri>
        <taglib-location>/WEB-INF/c.tld</taglib-location>
    </taglib>
</web-app>

阅读更多
想对作者说点什么? 我来说一句

Spring框架web.xml模板

Mai799582228 Mai799582228

2017-12-04 22:51:18

阅读数:177

web.xml模板

u013649139 u013649139

2016-12-29 15:56:11

阅读数:212

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭