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*,sess
> 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: [EMAIL PROTECTED] For
> additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to