RequestDispatcher rd = mServletContext.getRequestDispatcher("/views/" + pViewName + ".jsp");
rd.forward(mRequest, mResponse);
<?xml version="1.0" encoding="utf-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
<servlet>
<servlet-name>HtmlStarterServlet</servlet-name>
<servlet-class>com.kupkik.ui.html.HtmlStarterServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HtmlStarterServlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>HtmlStarterServletagain and thus an infinite loop is created. It should show the JSP, like it does online.HTTP ERROR 500
Problem accessing /. Reason:
INTERNAL_SERVER_ERRORCaused by:
java.lang.StackOverflowError
Can someone explain the different behaviour of the online google app engine and the local server of the SDK ?
does someone know a solution so that it works with both?