duwei1991 / webwind

Automatically exported from code.google.com/p/webwind

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

如何能够在运行期中动态增加Mapping

GoogleCodeExporter opened this issue · comments

我试过,在运行期间,增加Mapping,无法使用,需要重新启动S
ervlet container,
有什么设置方法?是Guice的事情吧

Original issue reported on code.google.com by ofbase on 30 Mar 2010 at 4:25

No. webwind only requests all mappings on startup.

You may use parameter to distinguish each action:

@Mapping("/dynamic/$1")
public void do_action(String action_type) {
  ...
}

Original comment by askxuefeng@gmail.com on 8 Apr 2010 at 2:20

  • Changed state: WontFix
see, tks

Original comment by ofbase on 10 Apr 2010 at 5:44