Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getting an error after deploying

843802Nov 17 2005
My web.xml file is this

<?xml version="1.0" encoding="UTF-8"?>
<web-app >
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>Rating</servlet-name>
<servlet-class>com.Mamatha.Rating</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>Rating</servlet-name>
<url-pattern>/Rating</url-pattern>
</servlet-mapping>

</web-app>


And the error i am getting is
<[BillingSystem.war]: Deployment descriptor "web.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'web-app'. (line 6, column 52).>


Please help me out

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 15 2005
Added on Nov 17 2005
0 comments
145 views