Hello.

I'm new to GAE. And somewhat old with web development.

I was trying to do a redirect - to a jsp page - from my servlet class
but keep getting the error message "The webpage at 
http://localhost:8888/my_clock.jsp
has resulted in too many redirects".

My servlet method simply calls resp.sendRedirect("/my_clock.jsp"). And
the jsp file is saved directly under the war/ directory. Spitting out
html using PrintWriter's out.println() method however works fine.

Please what am I doing wrong?

My web.xml looks like this:

<web-app xmlns="http://java.sun.com/xml/ns/javaee"; version="2.5">
        <servlet>
                <servlet-name>clock</servlet-name>
                <servlet-class>clock.ClockServlet</servlet-class>
        </servlet>
        <servlet-mapping>
                <servlet-name>clock</servlet-name>
                <url-pattern>/*</url-pattern>
        </servlet-mapping>
</web-app>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to