[appengine-java] The requested URL was not found on this server error message

2011-06-30 Thread Pion
My folder structure on Eclipse project is as the following:

war
  /b/abc
  /css
  /js
  /image
  index.html

It works fine on my development machine

But after uploading to Google App Engine, I received the following error 
message: The requested URL /b/abc was not found on this
server .

I am using GAE Java SDK 1.5.1 and Google Plugin for Eclipse 3.6.

Thanks in advance for your help.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/wdU8pMo19vsJ.
To post to this group, send email to google-appengine-java@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.



Re: [appengine-java] The requested URL was not found on this server error message

2011-06-30 Thread Evan Cheng
If /b/abc is a URL point to servlet, you must modify your
/war/WEB-INF/web.xml with the servlet path.

EX:
servlet
servlet-nameabcServlet/servlet-name
servlet-classcom.yourdomain.AbcServiceImpl/servlet-class
  /servlet

  servlet-mapping
servlet-nameabcServlet/servlet-name
url-pattern/b/abc/url-pattern
  /servlet-mapping

On Fri, Jul 1, 2011 at 8:51 AM, Pion onlee2...@gmail.com wrote:

 My folder structure on Eclipse project is as the following:

 war
   /b/abc
   /css
   /js
   /image
   index.html

 It works fine on my development machine

 But after uploading to Google App Engine, I received the following error
 message: The requested URL /b/abc was not found on this
 server .

 I am using GAE Java SDK 1.5.1 and Google Plugin for Eclipse 3.6.

 Thanks in advance for your help.

  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine-java/-/wdU8pMo19vsJ.
 To post to this group, send email to
 google-appengine-java@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.


-- 
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-java@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.



Re: [appengine-java] The requested URL was not found on this server error message

2011-06-30 Thread Pion
war/b/abc has static html file. I cannot access war/b/abc/foo.html using 
http://example.appspot.com/b/abc/foo.html

But I can access another folder war/xyz/pqr.html using 
http://example.appspot.com/xyz/pqr.html

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/9G7hKDe_cFAJ.
To post to this group, send email to google-appengine-java@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.



Re: [appengine-java] The requested URL was not found on this server error message

2011-06-30 Thread Evan Cheng
I'm not sure, but seems looks like you want to access a html file with a
path.
Maybe you need to add 'path-mapping'.

http://www.caucho.com/resin-3.0/config/webapp.xtp#path-mapping

On Fri, Jul 1, 2011 at 11:02 AM, Pion onlee2...@gmail.com wrote:

 war/b/abc has static html file. I cannot access war/b/abc/foo.html using
 http://example.appspot.com/b/abc/foo.html

 But I can access another folder war/xyz/pqr.html using
 http://example.appspot.com/xyz/pqr.html

  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine-java/-/9G7hKDe_cFAJ.

 To post to this group, send email to
 google-appengine-java@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.


-- 
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-java@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.