Hi,
<jsp-property-group>
<url-pattern>/jsp/*.jsp</url-pattern>
<scripting-invalid>true</scripting-invalid>
</jsp-property-group>
Tomcat 5.33 & Glassfish 3.1
Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: PWC1304: Invalid <url-pattern> /jsp/*.jsp in servlet mapping. Please see server.log for more details.
Correct answer: incorrect syntax of DD file
About Question com.enthuware.ets.scwcd.v5.2.454 :
Moderator: admin
-
- Posts: 33
- Joined: Mon May 02, 2011 5:09 pm
- Contact:
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scwcd.v5.2.454 :
Why should this mapping be invalid?
If you like our products and services, please help us by posting your review here.
-
- Posts: 33
- Joined: Mon May 02, 2011 5:09 pm
- Contact:
Re: About Question com.enthuware.ets.scwcd.v5.2.454 :
because of Java™ Servlet Specification Version 2.4
SRV.11.2 Specification of Mappings
In theWeb application deployment descriptor, the following syntax is used to define
mappings:
• A string beginning with a ‘/’ character and ending with a ‘/*’ suffix is used
for path mapping.
• A string beginning with a ‘*.’ prefix is used as an extension mapping.
• A string containing only the ’/’ character indicates the "default" servlet of
the application. In this case the servlet path is the request URI minus the context
path and the path info is null.
• All other strings are used for exact matches only.
You can't use template with leading / and * in the middle
moreover in my first post there are two error messages from web containers Tomcat and Glassfish
SRV.11.2 Specification of Mappings
In theWeb application deployment descriptor, the following syntax is used to define
mappings:
• A string beginning with a ‘/’ character and ending with a ‘/*’ suffix is used
for path mapping.
• A string beginning with a ‘*.’ prefix is used as an extension mapping.
• A string containing only the ’/’ character indicates the "default" servlet of
the application. In this case the servlet path is the request URI minus the context
path and the path info is null.
• All other strings are used for exact matches only.
You can't use template with leading / and * in the middle
moreover in my first post there are two error messages from web containers Tomcat and Glassfish
Who is online
Users browsing this forum: No registered users and 49 guests