As long as you have a /module/gwt-log servlet URL handler mapping
to com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl you should be
fine.
The equivalent web.xml would be:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>remoteLoggerServiceImpl</servlet-name>
<servlet-class>com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>remoteLoggerServiceImpl</servlet-name>
<url-pattern>/yourmodulename/gwt-log</url-pattern>
</servlet-mapping>
</web-app>
On Fri, Jun 25, 2010 at 3:40 AM, Piotr Kosmowski <[email protected]> wrote:
> Could someone post here some info how to integrate gwt-log with guice
> framework? I've got problems with sending messages to the server side
> of my project. As you know guice to serve IoC needs to implement it's
> own servlet management system. How to configure it to log properly
> messages from client side on the server?
>
> --
> You received this message because you are subscribed to the Google Groups
> "gwt-log" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<gwt-log%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/gwt-log?hl=en.
>
>
--
Fred Sauer
Developer Advocate
Google Inc.
1600 Amphitheatre Parkway
Mountain View, CA 94043
[email protected]
--
You received this message because you are subscribed to the Google Groups
"gwt-log" 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/gwt-log?hl=en.