Re: Get underlying HttpServletRequest from Guice?

2009-07-28 Thread Hubert Yang
Thank you, I will wait for the new binary. During the interim I will using the ordinary guice injection On Jul 28, 2:28 pm, "Dhanji R. Prasanna" wrote: > When we get those things ironed out, we will release a binary. > Dhanji. > > On Tue, Jul 28, 2009 at 4:19 PM, Hubert Y

Re: Get underlying HttpServletRequest from Guice?

2009-07-27 Thread Hubert Yang
bugs around the forward() functionality that I am > looking into... > However, in the interim you should be able to get at the original request by > simply injecting it into any Guice managed object. > > Dhanji. > > On Tue, Jul 28, 2009 at 1:51 PM, Hubert Yang wrote: > > > Hi

Get underlying HttpServletRequest from Guice?

2009-07-27 Thread Hubert Yang
Hi there: Currently I'm trying to integrate Guice(plus Guice-servlet) with another framework called Stripes. Things are working fine until I found the forward functionality is not working as expected. I dig into the Stripes code as well as Guice code, and finally figure out the reason is that Gu

How to set load-on-startup property in guice servlet?

2009-07-24 Thread Hubert Yang
Briefly, we could set initialization parameters of servlet/filter by feeding a Map object to guice when loading/doing injection: - ... filter("*.jsp", "*.action").through(MyFilter.class, getMyFilterParams ()); ... private static Map getMyFilterParams() { Map params = new Ha