[appengine-java] Re: Question About Loading HTML into a Frame

2011-01-02 Thread Didier Durand
Hi,

Is you Summary.html properly defined as a static file ? See how-to in
http://code.google.com/appengine/docs/java/config/appconfig.html#Static_Files_and_Resource_Files.

If not defined directly (or via a containing directory), GAE won't be
able to serve it to your application. Hence the 404.

regards

didier

On Jan 1, 5:33 pm, Eric Atkinson atki4...@gmail.com wrote:
 The App Engine Manual says that any file I put in the WAR (or
 subdirectory) is automatically known to the app, so why, when I use
 the following code...

 Frame frame = new Frame(/StrategicInternationalSystems/war/WEB-INF/
 pages/Summary.html);
                 dockLayoutPanel.add(frame);

 ...does it tell me:

 HTTP ERROR 404

 Problem accessing /StrategicInternationalSystems/war/WEB-INF/pages/
 Summary.html. Reason:

     NOT_FOUND

 I think it has something to do with the fact that I started coding the
 app (using a new project) using GWT Designer. Why? Because when it was
 just App Engine and the GWT Toolkit before, it executed this code
 fine.

 I'm at my wit's end; please help understand why this code no longer
 works because of using GWT Designer (I think).

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Question About Loading HTML into a Frame

2011-01-02 Thread Eric Atkinson
Your question, although not the answer that worked, got me to thinking
about whether the html file itself was properly defined, because
before I used OpenOffice to create the html document and this time I
used Google Docs to create the html document, and that was the
problem. For whatever very strange reason, app engine won't load an
html page if I create on google docs and then download it into the
war. On the other hand, when I created the document again using
OpenOffice, it worked. Thank you for hinting at the definition of the
file itself even if this didn't turn out to be the problem.

On Jan 2, 3:50 am, Didier Durand durand.did...@gmail.com wrote:
 Hi,

 Is you Summary.html properly defined as a static file ? See how-to 
 inhttp://code.google.com/appengine/docs/java/config/appconfig.html#Stat

 If not defined directly (or via a containing directory), GAE won't be
 able to serve it to your application. Hence the 404.

 regards

 didier

 On Jan 1, 5:33 pm, Eric Atkinson atki4...@gmail.com wrote:







  The App Engine Manual says that any file I put in the WAR (or
  subdirectory) is automatically known to the app, so why, when I use
  the following code...

  Frame frame = new Frame(/StrategicInternationalSystems/war/WEB-INF/
  pages/Summary.html);
                  dockLayoutPanel.add(frame);

  ...does it tell me:

  HTTP ERROR 404

  Problem accessing /StrategicInternationalSystems/war/WEB-INF/pages/
  Summary.html. Reason:

      NOT_FOUND

  I think it has something to do with the fact that I started coding the
  app (using a new project) using GWT Designer. Why? Because when it was
  just App Engine and the GWT Toolkit before, it executed this code
  fine.

  I'm at my wit's end; please help understand why this code no longer
  works because of using GWT Designer (I think).

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.