bug fixup: specify the html content encoding
use Spring resources abstraction to access main page content