Your JSP file should be not a relative path but absolute, i.e.

<jsp-file>*/absoulute/path/to/*mountain.jsp</jsp-file>


2010/3/16 Chris <christoph.wor...@gmail.com>

> Hi,
>
> I've got a strange problem with (I believe) my servlet mapping.  I'm
> trying to map all requests for "/mountain/*" to a JSP file called
> "mountain.jsp".  It works fine when I run it on my localhost, but when
> I upload the project to AppEngine, I get errors like the following:
>
> /mountain/5429370/index.html/index.html/index.html/index.html/
> index.html/index.html/index.html/index.html/...etc
>
> The "/index.html" is repeated over and over until Chrome gives me the
> following error:
> "Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many
> redirects."
>
> Chrome suggests clearing the cookies for the site, but I there are no
> cookies to clear.
>
> Here is my web.xml:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE web-app
>    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>    "http://java.sun.com/dtd/web-app_2_3.dtd";>
> <web-app>
>
>  <servlet>
>      <servlet-name>mountain</servlet-name>
>      <jsp-file>mountain.jsp</jsp-file>
>  </servlet>
>
>  <servlet-mapping>
>      <servlet-name>mountain</servlet-name>
>      <url-pattern>/mountain/*</url-pattern>
>  </servlet-mapping>
>
>  <!-- Default page to serve -->
>  <welcome-file-list>
>    <welcome-file>PeakPeekSite.html</welcome-file>
>  </welcome-file-list>
>
> </web-app>
>
> Has anyone seen this problem or understand what is going on?
>
> Thanks much,
> Chris
>
> --
> 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<google-appengine-java%2bunsubscr...@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-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.

Reply via email to