I gave it a quick go (trunk build) and it to works with jsp out of the
box but it is not perfect(calling include works but calling forward
crashes).
IIRC There are 2 different ways of getting the RequestDispatcher
o) From ServletContext in that case you specify the whole path
I'm not an expert, but here's what I've done. I believe I posted an
example with Motorcycles a while back, and it failed then, but the
recent Guice 2.0 pre-release snapshots now support MapBinders of
AssistedInject factories. I'll update it and post it again. In the
meantime:
Define a
I'm not an expert, but here's what I've done. I believe I posted an
example with Motorcycles a while back, and it failed then, but the
recent Guice 2.0 pre-release snapshots now support MapBinders of
AssistedInject factories. I'll update it and post it again. In the
meantime:
Define a
Here's my updated version of an example showing how to combine
Mapbinder and Assisted Inject.
http://graflex.org/klotz/2009/05/assisted-mapbinder/assisted-mapbinder.zip
The old code in
http://groups.google.com/group/google-guice/browse_thread/thread/b1b86a9976a74b20/def8bf9064a289ca
didn't
Hello, all.
I've just buttoned up an injectable logger implementation for
jcloudshttp://code.google.com/p/jclouds/which heavily relies on new
Guice 2.0 functionality. This design should be
null-safe and pluggable without introducing api dependencies on log4j or the
like. Please have a look at
Hey, thanks for the reply.
I gave it a quick go (trunk build) and it to works with jsp out of the
box but it is not perfect(calling include works but calling forward
crashes).
I am just using the snapshot build.
You're doing req.getRequestDispatcher( /WEB-INF/jsp/test.jsp). I
could be
Status: New
Owner:
New issue 368 by alen_vre...@yahoo.com: AssistedInject and MapBinder api
conveniance in method parameters
http://code.google.com/p/google-guice/issues/detail?id=368
I find it a bit unfriendly that FactoryProvider.newFactory(A,B) only takes
A=B parameters. I.e. either