Oh, I missed the bit where you are accessing resources outside of the
GWT app.

Icky ...

I punt.

-Ben

On Mar 4, 12:09 pm, Ben Imp <[email protected]> wrote:
> GWT has the concept of a history token to preserve your application's
> context.  You shouldn't need to be parsing the URL.
>
> http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsHist...
>
> -Ben
>
> On Mar 4, 11:20 am, cri <[email protected]> wrote:
>
> > I saw another post on this subject, but there wasn't a satisfactory
> > answer for me. So...
>
> > I find it very unfortunate that my GWT application URLs are not
> > consistent between development mode and web mode. Our application
> > lives on an intranet with lots of interaction with other intranet
> > resources which requires us to derive resources URLs depending on the
> > environment that we are running in.
>
> > In our testing and production environments, our application URL is
> > "http://hostname:port/myapp/myapp.html";. In development mode, the url
> > ishttp://hostname:port/myapp.html?gwt.codesvr=127.0.0.1:9997. This
> > has caused us all kinds of pain in terms of fragile URL derivation
> > code and application breakage caused by this fragility. So, there are
> > two problems. One, we need a way to preserve our application context,
> > which is fundamental to web applications. Second, we need a way to
> > lose the "?gwt.codesvr=127.0.0.1:9997". Surely, there is a less
> > intrusive way to handle this development mode information.
>
> > In another thread on this problem, a way to preserve the application
> > context was suggested that required giving up the nice jetty
> > integration that comes out of the box with the gwt eclipse plugin. I'd
> > hate to give this up and I'd hate to have to have our entire
> > development team give it up as well. They wouldn't like it.
>
> > Also, in the other thread, there was a description on how to bypass
> > the "?gwt.codesvr=127.0.0.1:9997". Unfortunately, looking over the
> > instructions a couple of times, I still don't quite understand what I
> > need to do.
>
> > I don't know if there is a work around for this issue; one that
> > doesn't require giving up the nifty jetty integration. I'd be very
> > grateful of course if anyone could suggest a work around.
>
> > In any case, I sure think that a future release of GWT should address
> > this issue.

-- 
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