Re: Configuring a GenericServlet (not HttpServlet)
It think you might have two choices. Have you tried to wrap the HessianServlet-instance to another servlet, override the service()-method and proxy the request to HessianServlet- instance? You could also try to use Filter for proxying if that does not work. -Marko On 19 elo, 18:09, Sondre Bjornebekk wrote: > > little problem: I want to map a GenericServlet (one that extends > > com.caucho.hessian.server.HessianServlet, so I cannot simply opt for > > changing it) rather than a HttpServlet. > > No takers? Guess I will bite the dust and add a web.xml-configured > servlet for this for now, then... > > -S- -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to google-guice@googlegroups.com. To unsubscribe from this group, send email to google-guice+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
Re: Configuring a GenericServlet (not HttpServlet)
> little problem: I want to map a GenericServlet (one that extends > com.caucho.hessian.server.HessianServlet, so I cannot simply opt for > changing it) rather than a HttpServlet. No takers? Guess I will bite the dust and add a web.xml-configured servlet for this for now, then... -S- -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to google-guice@googlegroups.com. To unsubscribe from this group, send email to google-guice+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
Configuring a GenericServlet (not HttpServlet)
Hi, I am configuring my servlets with Guice (a joy!), but ran into this little problem: I want to map a GenericServlet (one that extends com.caucho.hessian.server.HessianServlet, so I cannot simply opt for changing it) rather than a HttpServlet. How can I do that? The ServletKeyBindingBuilder interface seems to be all HttpServlet? Still on Guice2 btw, but this might be a good excuse to make the move (everything I have needed is working smoothly, so have just not felt the need!) if it is needed. Cheers, -S- -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to google-guice@googlegroups.com. To unsubscribe from this group, send email to google-guice+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.