Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

web.xml DTD problem with <web-resource-collection>

Status
Not open for further replies.

alebu

Programmer
Sep 7, 2002
46
0
0
Hi.
JBoss eclipse plugin and xmlbuddy poits my on error in my web.xml file in <security-constraint> tag:

<security-constraint>
<web-resource-collection>
<web-resource-name>App</web-resource-name>
<url-pattern>/app</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>text-editor</role-name>
<role-name>text-publisher</role-name>
<role-name>text-topic-admin</role-name>
</auth-constraint>
</security-constraint>

Errors texts are :
Element "web-resource-collection" does not allow "url-pattern" here.
Element "web-resource-collection" requires additional elements.

I was looking for DTD but it seem everything is fine to me. Later I also got problem deployng my app into Sybase EAServer and error was in web.xml to. I can't understand, where is the problem.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top