Re: Need tutorial for GWT and struts integration

2012-09-05 Thread Anitha Rosary
Hi All,

To know the entire Struts 1.x, Struts 2 flow, architecture, framework and 
the way to build a sample web application using Struts, please refer below 
site:
http://tutorial.f2finterview.com/


On Tuesday, March 31, 2009 5:39:13 PM UTC+5:30, mikeds...@gmail.com wrote:
>
> If you do a search with in this group, you'll find a number of threads 
> like this: 
>
> http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/fb41b4f180a7ac69/3521c7173db89676
>  
>
> If you do a Google search for struts+GWT+tutorial, you'll find many 
> relevent hits 
>
> The book, GWT Solutions by Dave Geary ( 
>
> http://www.amazon.com/Google-Web-Toolkit-Solutions-Useful/dp/0132344815/ref=pd_bbs_8?ie=UTF8&s=books&qid=1238501249&sr=8-8
>  
> ) contains a whole chapter on this topic. 
>
> Good luck! 
>
> Later, 
>
> Shaffer 
>
> On Mar 31, 5:02 am, GWT GWT  wrote: 
> > Hi, 
> > I am new to GWT. 
> > We have an application developed using struts,spring,hibernate. 
> > now we want to integrate GWT with this application( developed by using 
> > struts,spring,hibernate). 
> > I want tutorial which describe step by step how to integrate GWT with 
> > struts. 
> > thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/dDEIrZBzSl0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT and Struts

2011-01-05 Thread Srividhya Ramachandran
I have a GWT front end app or rather a page deployed with struts framework.
The page looks like:
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>




  

  



For the first time I am trying to launch this in devmode and get the
following exception:
GWT Failed to load module from user agent 'Mozilla/5.0 (Windows; U; Windows
NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13'

in the bottom of the stacktrace...
can somebody please help me understand what the problem is?
I am able to launch the page in NON-devmode.

thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT and struts integration

2009-08-06 Thread mikedshaffer

Similar to what Mariyan says, it really depends on how integrated you
want GWT to be inside your Struts app.  Dave Geary devotes a whole
chapter to this topic in his book "Google Web Toolkit Solutions".  It
was written for GWT 1.4, but it remains very relevent.  Pick it up at
Amazon or your favorite book source.  For additional information, just
remember that GWT is really an AJAX toolkit, so Google for "how to
integrate AJAX into Struts".  Again, and lastly, it really depends how
much integration between the two worlds you are trying to do.  Struts
is a stateful server form post solution and GWT is a thick and
stateful Javascript client with AJAX server communication solution...



On Aug 6, 5:43 am, mariyan nenchev  wrote:
> public class GwtEntryPointAction extends Action {
>
>     @Override
>     protected ActionForward lexecute(ActionMapping mapping, ActionForm
> theForm, HttpServletRequest request, HttpServletResponse response)
>             throws Exception {
>          Integer entrypointId =
> Integer.parseInt(request.getAttribute("epid"));
>          swtich(entrypointId) {
>          
>         return mapping.findForward("hostpage1");
>         .
>         return mapping.findForward("hostpage2");
> 
>           }
>
>     }
>
> }
>
> hostpage1.jsp :
>  src="/hostpage1.nocache.js">
> 
>
> hostpage2.jsp
>  src="/hostpage2.nocache.js">
> 
>
> Or even you may use one jsp, but the switch logic must be in it, which is
> better :)
>
> There is nothing special about struts.
> It's more complicated if you want mixed struts + gwt ui that are connected
> and weather the gwt components are client side only or not. You should think
> how to integrate that. My be with some custom js, but i can't give you an
> example for that, i have never done this. My gwt part was independent from
> the struts part.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT and struts integration

2009-08-06 Thread mariyan nenchev
public class GwtEntryPointAction extends Action {

@Override
protected ActionForward lexecute(ActionMapping mapping, ActionForm
theForm, HttpServletRequest request, HttpServletResponse response)
throws Exception {
 Integer entrypointId =
Integer.parseInt(request.getAttribute("epid"));
 swtich(entrypointId) {
 
return mapping.findForward("hostpage1");
.
return mapping.findForward("hostpage2");

  }

}

}


hostpage1.jsp :



hostpage2.jsp




Or even you may use one jsp, but the switch logic must be in it, which is
better :)

There is nothing special about struts.
It's more complicated if you want mixed struts + gwt ui that are connected
and weather the gwt components are client side only or not. You should think
how to integrate that. My be with some custom js, but i can't give you an
example for that, i have never done this. My gwt part was independent from
the struts part.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT and struts integration

2009-08-06 Thread Rajesh Pelluru
Hi mariyan,
Thanks for your reply. Can you please explain me more detail.
Could you please share the sample code do u have .

Regards,
Rajesh

On Thu, Aug 6, 2009 at 3:21 PM, mariyan nenchev
wrote:

> Just create struts action that directs you to the gwt host page (jsp for
> example).
> You may have multiple entry points, use one action and pass the desired
> module id to the action and with switch decide where to go. Not so hard?
>
>
> On Thu, Aug 6, 2009 at 11:46 AM, rpelluru  wrote:
>
>>
>> Hi all,
>>   We have existing web application implemented using Struts
>> 1.1.
>> We want to integrate GWT in our existing struts application.
>> I didn't find any articles or sample code on GWT + struts integration.
>>
>> Could any one please provide the articles or sample code about the GWT
>> + struts integration.
>>
>> Regards,
>> Rajesh
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT and struts integration

2009-08-06 Thread mariyan nenchev
Just create struts action that directs you to the gwt host page (jsp for
example).
You may have multiple entry points, use one action and pass the desired
module id to the action and with switch decide where to go. Not so hard?

On Thu, Aug 6, 2009 at 11:46 AM, rpelluru  wrote:

>
> Hi all,
>   We have existing web application implemented using Struts
> 1.1.
> We want to integrate GWT in our existing struts application.
> I didn't find any articles or sample code on GWT + struts integration.
>
> Could any one please provide the articles or sample code about the GWT
> + struts integration.
>
> Regards,
> Rajesh
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT and struts integration

2009-08-06 Thread Kamal Chandana Mettananda
Hi Rajesh,

There's an article about using GWT with Servlets; not quite sure whether
that will help you a lot. May be you can have a look.

http://lkamal.blogspot.com/2008/09/java-gwt-servlets-web-app-tutorial.html

Cheers.
Kamal

---

http://lkamal.blogspot.com







On Thu, Aug 6, 2009 at 2:16 PM, rpelluru  wrote:

>
> Hi all,
>   We have existing web application implemented using Struts
> 1.1.
> We want to integrate GWT in our existing struts application.
> I didn't find any articles or sample code on GWT + struts integration.
>
> Could any one please provide the articles or sample code about the GWT
> + struts integration.
>
> Regards,
> Rajesh
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



GWT and struts integration

2009-08-06 Thread rpelluru

Hi all,
   We have existing web application implemented using Struts
1.1.
We want to integrate GWT in our existing struts application.
I didn't find any articles or sample code on GWT + struts integration.

Could any one please provide the articles or sample code about the GWT
+ struts integration.

Regards,
Rajesh

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Need tutorial for GWT and struts integration

2009-03-31 Thread mikedshaffer

If you do a search with in this group, you'll find a number of threads
like this:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/fb41b4f180a7ac69/3521c7173db89676

If you do a Google search for struts+GWT+tutorial, you'll find many
relevent hits

The book, GWT Solutions by Dave Geary (
http://www.amazon.com/Google-Web-Toolkit-Solutions-Useful/dp/0132344815/ref=pd_bbs_8?ie=UTF8&s=books&qid=1238501249&sr=8-8
) contains a whole chapter on this topic.

Good luck!

Later,

Shaffer

On Mar 31, 5:02 am, GWT GWT  wrote:
> Hi,
> I am new to GWT.
> We have an application developed using struts,spring,hibernate.
> now we want to integrate GWT with this application( developed by using
> struts,spring,hibernate).
> I want tutorial which describe step by step how to integrate GWT with
> struts.
> thanks in advance
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Need tutorial for GWT and struts integration

2009-03-31 Thread GWT GWT
Hi,
I am new to GWT.
We have an application developed using struts,spring,hibernate.
now we want to integrate GWT with this application( developed by using
struts,spring,hibernate).
I want tutorial which describe step by step how to integrate GWT with
struts.
thanks in advance

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT and STRUTS 2

2009-02-17 Thread gregor

Hi Gilles,

Have you already searched the group for posts about the Struts/GWT
issue? There are a lot of them

regards
gregor

On Feb 17, 9:28 am, Gilles  wrote:
> I am investigating the use of Struts 2 and GWT and I would have a
> technical questions for this group. Let's suppose that I have no
> choice and have to use those two technologies together.
>
> I will have my main application which will be designed 100 % with Gwt.
> This application will open pop-ups windows designed with struts. Now
> it seems fairly easy to communicates datas from GWT to the pop-up
> window. What appears more tricky is in the other direction : how do I
> send vars and request actions in the gwt application from the Struts2
> pop-up window ?
>
> Thanks and best regards,
> GT
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



GWT and STRUTS 2

2009-02-17 Thread Gilles

I am investigating the use of Struts 2 and GWT and I would have a
technical questions for this group. Let's suppose that I have no
choice and have to use those two technologies together.

I will have my main application which will be designed 100 % with Gwt.
This application will open pop-ups windows designed with struts. Now
it seems fairly easy to communicates datas from GWT to the pop-up
window. What appears more tricky is in the other direction : how do I
send vars and request actions in the gwt application from the Struts2
pop-up window ?

Thanks and best regards,
GT
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---