Please consider adding html-helper-mode and jde to emacs.
http://sunsite.auc.dk/jde/ (jde aka java mode)
jde's a must for using emacs with java.
HTML support is already included (the default mode, not the HTML helper mode)
and java support is included with CC mode. JDE is not included, but needs to be
paired with a JDK to be configured and we don't have any.
Anyway, it's too late to add this at this stage (bug fixes etc. only for some
time now) - I'll look at it for 7.1