Hi Syed, If you want to leave your JSP that contains your GWT module and redirect to the next JSP page in your struts app using an action, I think you can do that using RequestBuilder to construct the appropriate .do call to the ActionServlet.
If however you want to invoke just the functionality of the action class and return the result back to the GWT module, I think it might be easier to create a GWT RPC service, copy your Action.perform code into a RemoteServlet method, and alter it to return a suitable Java DTO graph. I think the problem with introducing GWT to Struts apps is that GWT is single page/javascript based, whereas Struts is multi-page and all the Actions (which of course you would rather keep, but....) are designed to forward to the next JSP. This doesn't sit well with GWT. It also means that it's messy trying to place little bits of GWT magic across a number of different JSP pages. I think it might be a better strategy to pick a sizable chunk of a Struts app that would really benefit from GWT for wholesale replacement, and work outwards from there. regards gregor On Nov 13, 12:11 pm, "Tulio Ornelas" <[EMAIL PROTECTED]> wrote: > ashutosh seth interesting framework, have you used this framework in a real > project? Sounds me great. > > 2008/11/13, ashutosh seth <[EMAIL PROTECTED]>: > > > > > Hi Syed Shahul May be this can help you > >http://code.google.com/p/rocket-gwt/wiki/HtmlTemplateFactory > > > On Thu, Nov 13, 2008 at 4:52 PM, Syed Shahul <[EMAIL PROTECTED]>wrote: > > >> Hi All, > >> i am using GWT just to display static contents in jsp page. > > >> can any one give idea that how to integrate GWT with Struts2. > >> for instance i would like to get the data from Rich text box of GWT to > >> struts2 action. > >> Thanking you in advance > > > -- > > Thanks and Regards, > > Ashutosh > > Jr. S/W Developer > > Nirvana InfoCom(INDIA) Pvt Ltd. > > 269,Masjid Moth,New Delhi > > Cell: +91-9953309340 > > E-mail: [EMAIL PROTECTED] > >www.nirvanainfocom.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
