2 things to fix in your web.xml:
--param-value should be single valued
--url-pattern ExampleApp/* should be changed.
    url-pattern has the following rules
       path mapping:      starts with /, ends with /*
       extension mapping: begins with *.
       "default" servlet: single character /
       all other strings are exact matches only

The loader (appengine-tools) validates all other xml content against
schemas
except for the web.xml against the web-app_2_5.xsd schema, at least as
of sdk 1.5.2...


On Oct 5, 12:09 am, Manilal <libreg...@gmail.com> wrote:
> I am having the same issue. I have checked web.xml and the welcome-file
> doesn't start with slash. Is there some other reason why this error occurs?
>
> In my case, the application runs successfully from Eclipse, dev_appserver
> and Ant, but not in appspot. Here is the web.xml:
>
> <?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/javaeehttp://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
>         version="2.5">
>
> <filter>
>                 <filter-name>springSecurityFilterChain</filter-name>
>
> <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter- 
> class>
>         </filter>
>
>         <filter-mapping>
>                 <filter-name>springSecurityFilterChain</filter-name>
>                 <url-pattern>/*</url-pattern>
>         </filter-mapping>
>
>         <context-param>
>                 <param-name>contextConfigLocation</param-name>
>                 <param-value>
>                 /WEB-INF/spring/servlet-config.xml
>                 /WEB-INF/spring/application-config.xml
>                 /WEB-INF/spring/spring-security.xml
>
>                 </param-value>
>         </context-param>
>
>         <!-- Bootstraps the root web application context before servlet
> initialization -->
>         <listener>
>
> <listener-class>org.springframework.web.context.ContextLoaderListener</list 
> ener-class>
>         </listener>
>
>         <servlet>
>                 <servlet-name>dispatcher</servlet-name>
>
> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-c 
> lass>
>                 <init-param>
>                         <param-name>contextConfigLocation</param-name>
>
> <param-value>/WEB-INF/spring/servlet-config.xml</param-value>
>                 </init-param>
>                 <load-on-startup>1</load-on-startup>
>         </servlet>
>         <servlet-mapping>
>                 <servlet-name>dispatcher</servlet-name>
>                 <url-pattern>ExampleApp/*</url-pattern>
>         </servlet-mapping>
>         <welcome-file-list>
>                 <welcome-file>index.jsp</welcome-file>
>         </welcome-file-list>

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

Reply via email to