As stupid as this may sound it is the issue. I had another pair of
eyes at work look at it and he pointed out that I wasn't correctly
setting the path to the javascript source. I kept leaving it to the
default which is what the problem was. This is resolved now. Thanks
again for all help.

On Oct 10, 9:30 am, Suri <[EMAIL PROTECTED]> wrote:
> Hey Walden,
> All I have in the HTML right now is the reference to the entrypoint
> which is meant to show a Label with a "hello world" like message. The
> same page loads when its accessed directly but doesn't when it gets
> forwarded to from the Struts controller. Additionally, I compiled the
> GWT code in DETAILED mode so as to look at the javascript, and within
> the functions added some alert statements to see which one comes up
> first. Again while accessing the page directly, I was able to see the
> alerts be displayed, but none of them showed up when the page gets
> forwarded.
>
> Let me know if that info suffices? Thanks
> Suri
>
> On Oct 10, 9:08 am, walden <[EMAIL PROTECTED]> wrote:
>
> > Suri,
>
> > How do you know the GWT entry point is loading or not loading?
>
> > Walden
>
> > On Oct 9, 5:07 pm, Suri <[EMAIL PROTECTED]> wrote:
>
> > > hi Walden,
> > > the reason I specifically mentioned Struts was because this is what I
> > > observed.
>
> > > I currently have a Struts/Tiles based application. So there are
> > > navigational tiles that would need information processed by the Action
> > > class which then shall forward to a JSP which is constructed using
> > > Tiles.
>
> > > The problem seems to be that when the i access the GWT based file
> > > through the Action i.e if for the forgetting all Tiles etc, I had my
> > > JSP/HTML to be Test.jsp... and I went tohttp://mydomain.com/Test.do
> > > which shall execute TestAction which will forward me to Test.jsp
> > > (which has the GWT reference to the javascript) the javascript doesn't
> > > seem to execute upon load. However, if I went 
> > > tohttp://mydomain.com/Test.jsp,
> > > the page  gets loaded fine.
>
> > > Hope that explains the issue. Any help is appreciated. Additionally,
> > > if this might not be the best solution, other ideas are also
> > > appreciated.
>
> > > Thanks
> > > Suri
>
> > > On Oct 9, 2:45 pm, walden <[EMAIL PROTECTED]> wrote:
>
> > > > I don't use Struts, but GWT script in JSP files works fine.  Give some
> > > > more details...
>
> > > > On Oct 9, 1:46 pm, Suri <[EMAIL PROTECTED]> wrote:
>
> > > > > Hi,
> > > > > Has anyone been able to successfully integrate GWT into an existing
> > > > > Struts 1.x application? I'm trying a real simple case of calling an
> > > > > Action which proceeds to forward me to the JSP using GWT and want to
> > > > > know if anyone has success being able to get the javascript to run
> > > > > once the controller forwards the page to the browser.
>
> > > > > Thanks- Hide quoted text -
>
> > > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to