Re: Possible problem with GWT URL mechanism and cache
Ittai, The server bundled with the Eclipse plugin is Jetty, and it should work correctly out of the box (read: no extra configuration on your part). Re-reading your original post, it looks like you might think you are using development mode ("stop the debug") but your URL indicates you are actually using production mode. Make sure you launch your development mode session with the ?gwt.codesvr fragment. If you want to refresh your code without using development mode, you want to make sure you run a full GWT compile. On Sun, Aug 1, 2010 at 5:28 AM, Ittai wrote: > Hi Chris, > I'm sorry but as I first stated I'm not sure what underlying server > I'm using as the problem arises when using the "built-in" server in > the GWT Eclipse plug-in > Is this apache? Do you know? > If so, do you know where I should look for its htaccess file? > > Thanks > > On 30 יולי, 18:56, Chris Conroy wrote: >> If you use Apache, the following .htaccess should work: >> >> >> ExpiresDefault "access" >> >> >> >> ExpiresDefault "now plus 1 year" >> >> >> See the Compiling and Debugging section of the dev >> guide:http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebu... >> >> >> >> >> >> On Fri, Jul 30, 2010 at 2:35 AM, Ittai wrote: >> >> > Hi Chris, >> > Thanks for your reply. >> > I did not configure my web-server what so ever. >> > Just used the GWT debug console from inside eclipse (with GWT plug- >> > in). >> > Can you maybe point me to where I can still check these >> > configurations? >> >> > Thanks, >> > Ittai >> > On Jul 29, 8:38 pm, Chris Conroy wrote: >> > > This sounds like you misconfigured your webserver to serve up the >> > > .nocache files as cached. >> >> > > On Thu, Jul 29, 2010 at 2:51 AM, Ittai wrote: >> > > > Hi, >> > > > I'm encountering a problem, currently on IE8 and Win XP, where I can >> > > > start up the debug mode on eclipse and enter the URL of my application >> > > > on IE8: >> > > >http://localhost:8080/myModule/myModule.html?params >> > > > and everything will work properly. >> > > > If I stop the debug, change the code and build the application again, >> > > > of course new ADE43343.html file are created and when I enter the URL >> > > > again in IE8 I see in the debug console in eclipse that a 404 message >> > > > has been sent as the browser requested an incorrect URL. >> > > > Which on the one hand remained the same(myModule.html), but on the >> > > > other hand changed (generated html file). >> > > > Another point to notice is that if I clear the cache of the browser >> > > > all is well. >> > > > Now, the issue is that I need this change from version to version >> > > > (generated file to generated file) to be seemless. >> > > > I tried adding the following tag to the myModule.html file: >> > > > >> > > > but it did not seem to do the trick. >> > > > Has anyone encountered this? >> > > > Can you maybe point me to the right direction? >> > > > Thanks a lot in advance >> > > > ittai >> >> > > > -- >> > > > 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 >> > > > athttp://groups.google.com/group/google-web-toolkit?hl=en. >> >> > > -- >> > > Chris Conroy >> > > Software Engineer >> > > Google, Atlanta- 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 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 >> > athttp://groups.google.com/group/google-web-toolkit?hl=en. >> >> -- >> Chris Conroy >> Software Engineer >> Google, Atlanta-הסתר טקסט מצוטט- >> >> -הראה טקסט מצוטט- > > -- > 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. > > -- Chris Conroy Software Engineer Google, Atlanta -- 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: Possible problem with GWT URL mechanism and cache
Hi Chris, I'm sorry but as I first stated I'm not sure what underlying server I'm using as the problem arises when using the "built-in" server in the GWT Eclipse plug-in Is this apache? Do you know? If so, do you know where I should look for its htaccess file? Thanks On 30 יולי, 18:56, Chris Conroy wrote: > If you use Apache, the following .htaccess should work: > > > ExpiresDefault "access" > > > > ExpiresDefault "now plus 1 year" > > > See the Compiling and Debugging section of the dev > guide:http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebu... > > > > > > On Fri, Jul 30, 2010 at 2:35 AM, Ittai wrote: > > > Hi Chris, > > Thanks for your reply. > > I did not configure my web-server what so ever. > > Just used the GWT debug console from inside eclipse (with GWT plug- > > in). > > Can you maybe point me to where I can still check these > > configurations? > > > Thanks, > > Ittai > > On Jul 29, 8:38 pm, Chris Conroy wrote: > > > This sounds like you misconfigured your webserver to serve up the > > > .nocache files as cached. > > > > On Thu, Jul 29, 2010 at 2:51 AM, Ittai wrote: > > > > Hi, > > > > I'm encountering a problem, currently on IE8 and Win XP, where I can > > > > start up the debug mode on eclipse and enter the URL of my application > > > > on IE8: > > > >http://localhost:8080/myModule/myModule.html?params > > > > and everything will work properly. > > > > If I stop the debug, change the code and build the application again, > > > > of course new ADE43343.html file are created and when I enter the URL > > > > again in IE8 I see in the debug console in eclipse that a 404 message > > > > has been sent as the browser requested an incorrect URL. > > > > Which on the one hand remained the same(myModule.html), but on the > > > > other hand changed (generated html file). > > > > Another point to notice is that if I clear the cache of the browser > > > > all is well. > > > > Now, the issue is that I need this change from version to version > > > > (generated file to generated file) to be seemless. > > > > I tried adding the following tag to the myModule.html file: > > > > > > > > but it did not seem to do the trick. > > > > Has anyone encountered this? > > > > Can you maybe point me to the right direction? > > > > Thanks a lot in advance > > > > ittai > > > > > -- > > > > 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 > > > > athttp://groups.google.com/group/google-web-toolkit?hl=en. > > > > -- > > > Chris Conroy > > > Software Engineer > > > Google, Atlanta- 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 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 > > athttp://groups.google.com/group/google-web-toolkit?hl=en. > > -- > Chris Conroy > Software Engineer > Google, Atlanta-הסתר טקסט מצוטט- > > -הראה טקסט מצוטט- -- 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: Possible problem with GWT URL mechanism and cache
If you use Apache, the following .htaccess should work: ExpiresDefault "access" ExpiresDefault "now plus 1 year" See the Compiling and Debugging section of the dev guide: http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html On Fri, Jul 30, 2010 at 2:35 AM, Ittai wrote: > > Hi Chris, > Thanks for your reply. > I did not configure my web-server what so ever. > Just used the GWT debug console from inside eclipse (with GWT plug- > in). > Can you maybe point me to where I can still check these > configurations? > > Thanks, > Ittai > On Jul 29, 8:38 pm, Chris Conroy wrote: > > This sounds like you misconfigured your webserver to serve up the > > .nocache files as cached. > > > > > > > > > > > > On Thu, Jul 29, 2010 at 2:51 AM, Ittai wrote: > > > Hi, > > > I'm encountering a problem, currently on IE8 and Win XP, where I can > > > start up the debug mode on eclipse and enter the URL of my application > > > on IE8: > > >http://localhost:8080/myModule/myModule.html?params > > > and everything will work properly. > > > If I stop the debug, change the code and build the application again, > > > of course new ADE43343.html file are created and when I enter the URL > > > again in IE8 I see in the debug console in eclipse that a 404 message > > > has been sent as the browser requested an incorrect URL. > > > Which on the one hand remained the same(myModule.html), but on the > > > other hand changed (generated html file). > > > Another point to notice is that if I clear the cache of the browser > > > all is well. > > > Now, the issue is that I need this change from version to version > > > (generated file to generated file) to be seemless. > > > I tried adding the following tag to the myModule.html file: > > > > > > but it did not seem to do the trick. > > > Has anyone encountered this? > > > Can you maybe point me to the right direction? > > > Thanks a lot in advance > > > ittai > > > > > -- > > > 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 > > > athttp://groups.google.com/group/google-web-toolkit?hl=en. > > > > -- > > Chris Conroy > > Software Engineer > > Google, Atlanta- 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 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. > -- Chris Conroy Software Engineer Google, Atlanta -- 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: Possible problem with GWT URL mechanism and cache
Hi Chris, Thanks for your reply. I did not configure my web-server what so ever. Just used the GWT debug console from inside eclipse (with GWT plug- in). Can you maybe point me to where I can still check these configurations? Thanks, Ittai On Jul 29, 8:38 pm, Chris Conroy wrote: > This sounds like you misconfigured your webserver to serve up the > .nocache files as cached. > > > > > > On Thu, Jul 29, 2010 at 2:51 AM, Ittai wrote: > > Hi, > > I'm encountering a problem, currently on IE8 and Win XP, where I can > > start up the debug mode on eclipse and enter the URL of my application > > on IE8: > >http://localhost:8080/myModule/myModule.html?params > > and everything will work properly. > > If I stop the debug, change the code and build the application again, > > of course new ADE43343.html file are created and when I enter the URL > > again in IE8 I see in the debug console in eclipse that a 404 message > > has been sent as the browser requested an incorrect URL. > > Which on the one hand remained the same(myModule.html), but on the > > other hand changed (generated html file). > > Another point to notice is that if I clear the cache of the browser > > all is well. > > Now, the issue is that I need this change from version to version > > (generated file to generated file) to be seemless. > > I tried adding the following tag to the myModule.html file: > > > > but it did not seem to do the trick. > > Has anyone encountered this? > > Can you maybe point me to the right direction? > > Thanks a lot in advance > > ittai > > > -- > > 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 > > athttp://groups.google.com/group/google-web-toolkit?hl=en. > > -- > Chris Conroy > Software Engineer > Google, Atlanta- 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 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: Possible problem with GWT URL mechanism and cache
This sounds like you misconfigured your webserver to serve up the .nocache files as cached. On Thu, Jul 29, 2010 at 2:51 AM, Ittai wrote: > Hi, > I'm encountering a problem, currently on IE8 and Win XP, where I can > start up the debug mode on eclipse and enter the URL of my application > on IE8: > http://localhost:8080/myModule/myModule.html?params > and everything will work properly. > If I stop the debug, change the code and build the application again, > of course new ADE43343.html file are created and when I enter the URL > again in IE8 I see in the debug console in eclipse that a 404 message > has been sent as the browser requested an incorrect URL. > Which on the one hand remained the same(myModule.html), but on the > other hand changed (generated html file). > Another point to notice is that if I clear the cache of the browser > all is well. > Now, the issue is that I need this change from version to version > (generated file to generated file) to be seemless. > I tried adding the following tag to the myModule.html file: > > but it did not seem to do the trick. > Has anyone encountered this? > Can you maybe point me to the right direction? > Thanks a lot in advance > ittai > > -- > 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. > > -- Chris Conroy Software Engineer Google, Atlanta -- 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.
Possible problem with GWT URL mechanism and cache
Hi, I'm encountering a problem, currently on IE8 and Win XP, where I can start up the debug mode on eclipse and enter the URL of my application on IE8: http://localhost:8080/myModule/myModule.html?params and everything will work properly. If I stop the debug, change the code and build the application again, of course new ADE43343.html file are created and when I enter the URL again in IE8 I see in the debug console in eclipse that a 404 message has been sent as the browser requested an incorrect URL. Which on the one hand remained the same(myModule.html), but on the other hand changed (generated html file). Another point to notice is that if I clear the cache of the browser all is well. Now, the issue is that I need this change from version to version (generated file to generated file) to be seemless. I tried adding the following tag to the myModule.html file: but it did not seem to do the trick. Has anyone encountered this? Can you maybe point me to the right direction? Thanks a lot in advance ittai -- 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.