That's exactly the problem. On Oct 23, 6:33 pm, rernst <[email protected]> wrote: > I don't think this is what he is asking. I am actually pondering the > same question. I have some code that talks JSON to a PHP backend. This > code needs no Tomcat, indeed there is no Tomcat instance running on > the server. GWT is compiled into JS so there should be no need for > deployment to Tomcat unless I drive a servlet, non? > > So, do I simply copy the JS code with the hosting HTML and transfer it > to Apache or are there other things invoklved? How about the funny JS > files GWT creates, nocache.js, etc? Actually, it appears class loader > deployment is very straightforward but I have no classloader. > > /re > > On Oct 23, 4:24 am, Thomas Broyer <[email protected]> wrote: > > > On 22 oct, 18:01,Charbel<[email protected]> wrote: > > > > Hi, > > > I just finished my first GWT application and I wanted to know if it is > > > possible to deploy a GWT application on Apache HTTD, this GWT app only > > > uses compiled Javascipt to access a Tomcat application hosting all the > > > functionality via servlets. > > > As long as your tomcat instance is accessed at the same > > "origin" (protocol, hostname, port; i.e. using Apache's mod_proxy or > > mod_jk), yes, that's actually how we deploy our own app: GWT app > > served by Apache which calls tomcat-hosted servlets through mod_jk. > > Otherwise, you'll face the "same origin policy".
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
