Hi All, Currently i have struts application which is up and running.Now i need to provide some more functionalities to my project.So I decided to code using GWT.Now i have finished my GWT coding and want to integrate with struts application. Has anyone tried this option before? If yes please let me know the steps to follow.
I would not recommend trying to integrate GWT with a Struts project. GWT requires its own style of programming that doesn't match well at all with a Struts project. There are other ways of integrating AJAX into a Struts project such as the DOJO toolkit that are much easier to integrate with Struts.
Surya Kant wrote:Hi I have integrated Struts with GWT and it is working fine.
It is very easy to do.If anyone is facing problem feel free to contact me.
I was planning on using GWT with Struts 2. There are two main features which I require.
1. The forms might have components which require AJAX (Auto complete feature)
2. Upon submitting the form, the values of the components need to be displayed in the URL. This is a requirement because, the resutls page needs to be bookmarkable.
PS: The submit could be a Struts form submit action.
For this, I thought that the solution could be to have a GWT form included in a struts jsp page. However, the problem I face is that I am not able to access the values of the GWT components when I submit the form. Any idea, how to solve this problem? For that matter, I do not even have to use Struts; can use some other framework
i create a sample application with gwt and struts . I am using cypal studio. When i run my project it is giving the following error "Resource not found: employee.action; (could a file be missing from the public path or a <servlet> tag misconfigured in module com.atc.sample.employee.gwt.xml ?"
My action class
i given entry in the struts filter entry in the web.xml
Any idea please