You most probably have modified your local server default install. If
the JSP servlet is in place, the file will be served OK.

Your web.xml snippet should not be needed.

On Nov 27, 7:49 pm, Don <lydonchan...@gmail.com> wrote:
> Hi,
>
> Trivial question for the gurus here,
>
> if i do:
>     response.redirect("bla.jsp")
> I get
> "WARNING: Can not serve /bla.jsp directly.  You need to include it in
> <static-files> in your appengine-web.xml." on development server
> (localhost)
>
> Everything is ok when it is run on the cloud.
> Why??
>
> I know I have to do this below so it works on localhost...
> "<servlet>
>         <servlet-name>blajsp</servlet-name>
>         <jsp-file>/bla.jsp</jsp-file>
>     </servlet>
>
>     <servlet-mapping>
>         <servlet-name>blajsp</servlet-name>
>         <url-pattern>/blajsp</url-pattern>
>     </servlet-mapping>
> "

--

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