File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Confusion in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

Confusion in web.xml

c shah

Joined: May 12, 2011
Posts: 10
I wrote <?xml version="1.0" encoding="ISO-8851-1" ?> in web.xml and tried to compile but i got Http 404 error saying the requested resource is not available.Then i changed it to <?xml version="1.0" encoding="ISO-8859-1" ?> and then compiled.
It worked perfectly.Can anyone please tell me how that encoding attribute affects the application
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
The problem came up before: see this set of messages.

When I searched for ISO-8851-1 it led to a page having to do with Butter standards so I think wherever you read 8851 instead of 8859 was a misprint.

I agree. Here's the link:
subject: Confusion in web.xml
It's not a secret anymore!