• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

GWT and Struts

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Regards,
Surya
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
Regards,
Surya
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
Regards,
Surya



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

Thank you,
Kaushik
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Surya,

Can you tell me how you had integrated GWT with Struts??

Can you send me the code snippets to me??

My mail id is kodanhunt@gmail.com

Thanks & Regards,
Kothandaraman N.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hai i am new to gwt .i have an application which is developed using struts and hibernate .now i want idea to integrate gwt with my application please help me soon.

Thank's&Regard's
solaimani
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
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



entry point


service classes


Asynclass


employee.gwt.xml


struts.xml


i given entry in the struts filter entry in the web.xml
Any idea please

Thank
Usman.sk



 
Once upon a time there were three bears. And they were visted by a golden haired tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic