This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

Confusion in web.xml

c shah
Greenhorn

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
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
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.

Bill
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Confusion in web.xml