Browsing: cross site scripting prevention java