`

关于.do/.vm/.action的解释...

阅读更多
,其中常见的有.今天才知道原来网络上还有以.action、.do、.vm为扩展名的网页,发现我落伍了...

它们是一种新的Servlet技术. .vm是Velocity的应用;.do是Struts的应用;.action是WebWork的应用.细细斟酌其实都是Servlet技术的扩展,通过定义自己的Servlet解析不同应用的扩展名.
Struts是通过扩展Servlet通过JSP/html作为表示层;WebWork是比Struts轻型的MVC应用,扩展了Servlet的派遣机制通过Veloci
分享到:
评论

相关推荐

    apktool documentation

    // builds current directory into ./dist $ apktool b bar -o new_bar.apk // builds bar folder into new_bar.apk $ apktool b bar.apk // WRONG: brut.androlib.AndrolibException: brut.directory....

    J2EE企业级项目开发-1期 01 struts2 项目开发经验.doc

    在`struts.xml`配置文件中,定义每个Action及其结果类型,如`result name="success" type="velocity">/pages/logok.vm`,其中`result`标签定义了成功时跳转的页面。 综上所述,Struts2项目开发经验涉及Action命名...

    struts2整合velocity

    <constant name="struts.action.extension" value=".do"/> <constant name="struts.velocity.properties" value="/WEB-INF/velocity.properties"/> ``` 同时,需要在`velocity.properties`中配置Velocity的相关参数...

    Spring.Boot.in.Action.2015.12.pdf

    Spring.Boot.in.Action.2015.12.pdfFor online information and ordering of this and other manning books, please visit www.manning.com.thepublisheroffersdiscountsonthisbookwhenorderedinquantity For more ...

    Struts2\constant应用

    <constant name="struts.action.extension" value="do" /> ``` **解释:** 将请求后缀设为`do`,意味着所有以`.do`结尾的URL请求都将交由Struts2处理。 ##### 3. struts.serve.static.browserCache **作用:** 设置...

    intellij idea 集成tomcat

    - 此外,还可以在`VM options`中设置启动时的虚拟机参数,比如设置最大堆内存等。 ##### 5. 配置更新动作 - 在`Before Launch`选项卡中,可以配置在启动Tomcat之前执行的操作。这里通常可以选择`Make`或`Build ...

    qemu-0.13.0(编译过全处理器支持)

    QEmu虚拟机 做嵌入式开发的朋友试试 调试内核很方便 ...usage: qemu [options] [disk_image] 'disk_image' is a raw hard disk image for IDE hard disk 0 Standard options: -h or -help display this help and ...

    Qemu-1.0.1 for windows

    Qemu 1.0.1 Windows ...usage: qemu [options] [disk_image] 'disk_image' is a raw hard disk image for IDE hard disk 0 Standard options: -h or -help display this help and exit -version display version ...

Global site tag (gtag.js) - Google Analytics