tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Un-authorized page 403
Date Wed, 22 Oct 2003 19:05:38 GMT

Howdy,
The error-page element (error-page*) does exist in the error message.
The message is telling you the DTD to which web.xml must comply.  As I
said, either validate your web.xml yourself or post it for us to
validate ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Thai Nguyen [mailto:thai@crctvn.org]
>Sent: Wednesday, October 22, 2003 2:54 PM
>To: tomcat-user@jakarta.apache.org
>Subject: RE: Un-authorized page 403
>
>Thanks so much Shapira,
>
>The element I added in is <error-page>.
>This element does not exist in the element's list from the error
message.
>I guess my question now is how do I add that element.
>
>Thanks,
>
>Thai Nguyen
>>
>> Howdy,
>>
>>>SEVERE: Parse Error at line 72 column 11: The content of element type
>>> "web-app" must match
>>>"(icon?,display-name?,description?,distributable?,context-
>>>param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,se
ss
>> ion-
>>>config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource
-e
>> nv-
>>>ref*,resource-ref*,security-constraint*,login-config?,security-role*,
en
>> v-
>>>entry*,ejb-ref*,ejb-local-ref*)".
>>>
>>>The error only occurs once (when restart tomcat) but it's still an
>> error.
>>>Anyone know how to fix this error?
>>
>> Not only is it still an error, but a very significant error at that.
>> That's why it's a SEVERE-level message ;)
>>
>> You need to edit your web.xml so that its elements are in the order
>> specified in the error message above.  If you think your web.xml is
>> correct, validate it with a tool like XMLSpy or simply post it (all
of
>> it) here.
>>
>> Yoav Shapira
>>
>>
>>
>> This e-mail, including any attachments, is a confidential business
>> communication, and may contain information that is confidential,
>> proprietary and/or privileged.  This e-mail is intended only for the
>> individual(s) to whom it is addressed, and may not be saved, copied,
>> printed, disclosed or used by anyone else.  If you are not the(an)
>> intended recipient, please immediately delete this e-mail from your
>> computer system and notify the sender.  Thank you.
>>
>>
>> ---------------------------------------------------------------------
To
>> unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For
>> additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message