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 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.