Re: Comment on Servlets in google-guice

28 views
Skip to first unread message

google...@googlecode.com

unread,
Aug 17, 2010, 12:02:05 PM8/17/10
to google-g...@googlegroups.com
Comment by pedrojuniordeveloper:

test


For more information:
http://code.google.com/p/google-guice/wiki/Servlets

google...@googlecode.com

unread,
Feb 20, 2011, 3:55:40 PM2/20/11
to google-g...@googlegroups.com
Comment by steven.m...@gmail.com:

Is there more complete documentation somewhere. Right off, this is
confusing. For example:
"Guice's servlet extensions allow you to completely eliminate
web.xml....Start by placing GuiceFilter at the top of your .web.xml file:"

google...@googlecode.com

unread,
Nov 8, 2011, 3:36:40 AM11/8/11
to google-g...@googlegroups.com
Comment by lars.dun...@gmail.com:

One way to remove your web.xml is to create a subclass of
com.google.inject.servlet.GuiceFilter

Ex:
@WebFilter("/*")
public class MyGuiceFilter extends GuiceFilter {

google...@googlecode.com

unread,
Apr 29, 2012, 12:05:19 PM4/29/12
to google-g...@googlegroups.com
Comment by anderson...@gmail.com:

Is there a way to do custom 500 error handing with the GuiceFilter?

google...@googlecode.com

unread,
Mar 19, 2013, 11:55:35 AM3/19/13
to google-g...@googlegroups.com
Comment by reeteshk...@gmail.com:

Hi I was trying for automatic invocation of hibernate validator in jax -rpc
webservice layer on method level. So Guic injector is being invoked from
webservice handler. It is able to retrieve hibernate validator properly.
but validation is not getting triggered in webservice method using
annotation. i am running webservice in tomcat container. we are webservice
provider. can you please let me know if my approach is correct or do we
need to have some other approach?

For more information:
https://code.google.com/p/google-guice/wiki/Servlets

google...@googlecode.com

unread,
May 19, 2013, 3:41:46 PM5/19/13
to google-g...@googlegroups.com
Comment by max.engl...@gmail.com:

+1 to "Is there a way to do custom 500 error handing with the GuiceFilter?"
Reply all
Reply to author
Forward
0 new messages