alebu
Programmer
- Sep 7, 2002
- 46
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.
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.