0
votes

I'm really new to gwt,

I'm tasked to compile the gwt project into JS files and add the GWT Servlets and Javascript files inside another Java web-application (spring).

other than the js file generated by gwt I've also copied the server folder from the gwt project to the other project. also added the service servlet to web.xml

the client side is working fine.

I want to know usually what other configurations I have to set to make this work?

Thanks.


EDIT:

servlet mapping in web.xml

<servlet>
    <servlet-name>applicationReportService</servlet-name>
    <servlet-class>com.project.reports.gwt.server.service.rpc.applicationReportServiceImpl</servlet-class>
</servlet>
<servlet-mapping>
    <servlet-name>applicationReportService</servlet-name>
    <url-pattern>/reports/applicationReportService.svc</url-pattern>
</servlet-mapping>
1
what are you using for communication between server and client (JSON, GWT RPC) ? - Daniel Kurka

1 Answers

2
votes

at runtime gwt depends un the gwt-user.jar and the gwt-servlet.jar. If you add them to your classpath as well as your servlets you should be fine