DWR HttpServletRequest 取得


これもメモですが、少しおススメできません。

WebContext dwrContext = WebContextFactory.get();
HttpServletRequest request = dwrContext.getHttpServletRequest();

引用元:http://directwebremoting.org/dwr/server/javaapi.html


でHttpServletRequestを作る事ができますが・・
WebContextFactoryがその内なくなりそうな雰囲気です。

ちなみに、これよりも
S2を使った方をおススメします。


他の方法を探しておかなくては・・