[appengine-java] redirect /file.jsp

2009-11-27 Thread Don
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

Re: [appengine-java] redirect /file.jsp

2009-11-27 Thread Rusty Wright
What happens if instead you do response.sendRedirect(response.encodeRedirectURL(blah.jsp)); Don 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

Re: [appengine-java] redirect /file.jsp

2009-11-27 Thread Rusty Wright
Here's what I use in my index.jsp to redirect to a url mapped to an action bean/controller; i.e., I use the jstl redirect tag instead of response.redirect(): ?xml version=1.0 encoding=ISO-8859-1 ? %-- isElIgnored=false needed for GAE --% %@ page language=java