I've experimented very briefly with an utility class for my hobby
project. I don't particularly like it but thought I share it.

http://pastie.org/502039

e.g.

<%! @Inject FunctionParser parser;
   { GuiceServletUtil.injectMembers(this); }
%>

<%=parser.parse(request.getParameter("f")).... %>
<% GuiceServletUtil.include("/GuiceManagedServlet?x=" +
request.getParameter("x"),request,response); %>

It can also forward and include between Guice managed and non-managed
servlets.

Cheers
Alen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to