aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Chapter 3 - MalformedByteSequenceException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Chapter 3 - MalformedByteSequenceException " Watch "Chapter 3 - MalformedByteSequenceException " New topic
Author

Chapter 3 - MalformedByteSequenceException

Santiago Bravo
Ranch Hand

Joined: Jul 25, 2008
Posts: 226
Hi,

Im trying to complete the HFJS Chapter 3 exercise but getting a 404 error. I have the same structure exactly as detailed in the chaper - called the app Juice-v1 instead of beer.

The tomcat session indicates there is a parse error in web.xml which has resulted in a MalformedByteSequenceException - screenshot and web.xml atached.

Can anyone give some pointers? My web.xml looks fine


I've also had a look at previous posts with similar problems but still unable to resolve this error.


Thanks

S.






[Thumbnail for error.jpg]

Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18651
    
    8

I don't like the look of the quotes around your attribute values. Are they ordinary quote characters or did you make this document in Microsoft Word and paste it somewhere? If you did that then you probably have the so-called "smart quotes", which aren't acceptable for delimiting attribute values in XML.
Santiago Bravo
Ranch Hand

Joined: Jul 25, 2008
Posts: 226
spot on!


I have the ebook and copied & pasted if direct from the pdf. I didn't even think of that

Thanks alot Paul


S.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Chapter 3 - MalformedByteSequenceException