Errata

Programming Google App Engine with Java

Errata for Programming Google App Engine with Java

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 37
In the scorpion-marked web.xml example

Using the example as written generates a "java.lang.IllegalStateException: No forced path servlet for /WEB-INF/home.jsp" server side error after uploading to GAE.

Removing this part solves it.

<servlet-mapping>
<servlet-name>home-jsp</servlet-name>
<url-pattern>/WEB-INF/home.jsp</url-pattern>
</servlet-mapping>

The error seems to be the same as in this stackoverflow qustion: https://stackoverflow.com/questions/19623533/gae-no-forced-path-servlet-for-xxx-jsp

Anonymous  Jun 23, 2017