jQuery in Action, 2nd edition*
The moose likes JSP and the fly likes jsp-property-group error in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp-property-group error in web.xml" Watch "jsp-property-group error in web.xml" New topic
Author

jsp-property-group error in web.xml

sekar bala
Greenhorn

Joined: Oct 06, 2010
Posts: 27
Hi all

This is the first time i am using the JSTL.In web.xml i am using <jsp-property-group> tag but it is showing error like this.

cvc-complex-type.2.4.a: Invalid content was found starting with element 'jsp-property-group'. One of '{"http://java.sun.com/xml/ns/javaee":description, "http://java.sun.com/xml/ns/javaee":display-name, "http://java.sun.com/xml/ns/javaee":icon, "http://
java.sun.com/xml/ns/javaee":distributable, "http://java.sun.com/xml/ns/javaee":context-param, "http://java.sun.com/xml/ns/javaee":filter, "http://java.sun.com/xml/ns/javaee":filter-mapping, "http://java.sun.com/xml/ns/javaee":listener, "http://
java.sun.com/xml/ns/javaee":servlet, "http://java.sun.com/xml/ns/javaee":servlet-mapping, "http://java.sun.com/xml/ns/javaee":session-config, "http://java.sun.com/xml/ns/javaee":mime-mapping, "http://java.sun.com/xml/ns/javaee":welcome-file-list,
"http://java.sun.com/xml/ns/javaee":error-page, "http://java.sun.com/xml/ns/javaee":jsp-config, "http://java.sun.com/xml/ns/javaee":security-constraint, "http://java.sun.com/xml/ns/javaee":login-config, "http://java.sun.com/xml/ns/javaee":security-
role, "http://java.sun.com/xml/ns/javaee":env-entry, "http://java.sun.com/xml/ns/javaee":ejb-ref, "http://java.sun.com/xml/ns/javaee":ejb-local-ref, "http://java.sun.com/xml/ns/javaee":service-ref, "http://java.sun.com/xml/ns/javaee":resource-ref,
"http://java.sun.com/xml/ns/javaee":resource-env-ref, "http://java.sun.com/xml/ns/javaee":message-destination-ref, "http://java.sun.com/xml/ns/javaee":persistence-context-ref, "http://java.sun.com/xml/ns/javaee":persistence-unit-ref, "http://
java.sun.com/xml/ns/javaee":post-construct, "http://java.sun.com/xml/ns/javaee":pre-destroy, "http://java.sun.com/xml/ns/javaee":message-destination, "http://java.sun.com/xml/ns/javaee":locale-encoding-mapping-list}' is expected.

How to rectify this.can any one help me.

Thanks in advance.


Regards
Sekar Bala
Trivikram Kamat
Ranch Hand

Joined: Sep 26, 2010
Posts: 155
Please post the code written inside <jsp-property-group> tag.


OCPJP6
sekar bala
Greenhorn

Joined: Oct 06, 2010
Posts: 27
This is the tag details

<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<el-enabled>true</el-enabled>
</jsp-property-group>
Rajkishore Pujari
Ranch Hand

Joined: Sep 03, 2005
Posts: 46
sekar bala wrote:This is the tag details

<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<el-enabled>true</el-enabled>
</jsp-property-group>


Is it under jsp-config

look at the sample snippet here. http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jsps/jspconfig/web.xml.html
sekar bala
Greenhorn

Joined: Oct 06, 2010
Posts: 27
Thanks pujari it works...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp-property-group error in web.xml