论坛首页 Java企业应用论坛

为什么webwork的action的别名不能运行

浏览 2154 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2006-11-23  
不想定义action映射,所以就用别名的方式进行访问,如http://localhost/test/aaa!excute2.action来访问(excute2为action中方法),但是系统报错action  aaa!excute2不能找到

配置如下
<action name="aaa" class="com.Test.AAA">
   <result name="success" type="freemarker">
      <param name="location">/com/Test/test.html</param>
   </result>
</action>
真不知道是怎么回事,(直接访问http://localhost/test/aaa.action可以运行)望各位给于解答
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics