web

于跨了不同的Web Context,因此采用strtus2的struts.action.extension=action,do来实现action不同后缀的方式也行不通。

    可行的解决方案有两种:

1、  利用前端的apache或lighttpd的mod_rewrite来实现

2、  利用java开源项目UrlRewriteFilter http://tuckey.org/urlrewrite/来实现类似mod_rewrite的功能

http://chuanliang2007.spaces.live.com/blog/cns!E5B7AB2851A4C9D2!412.entry

你可能感兴趣的:(apache,Web,struts,Blog,lighttpd)