Hi,
I'm running a standalone Tomcat webserver 4.0.6 and am trying to force a
resource on my web server to only serve a particular URL through SSL, so
I've inserted the following lines in the web.xml file:
security-constraint
web-resource-collection
web-resource-nameProtected Context/web-resource-name
url-pattern/index/url-pattern
/web-resource-collection
!-- auth-constraint goes here if you requre authentication --
user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint
/security-constraint
When restarting my webserver, I'm getting the following error message
several times:
org.xml.sax.SAXParseException: The content of element type web-app
must match
(icon?,display-name?,description?,distributable?,context-param*,filter*
,filter-
mapping*,listener*,servlet*,servlet-mapping*,session-config?
,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,
resource-ref*,security-constraint*,login-config?,security-role*,env-entr
y*,ejb-ref*,ejb-
local-ref*)
.
PARSE error at line 858 column 11
Could someone help me out on what I've done wrong???
Cheers
Deric
_
Un mot doux à envoyer? Une sortie ciné à organiser? Faites le en temps
réel avec MSN Messenger! C'est gratuit! http://ifrance.com/_reloc/m
_
Envie de discuter en live avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]