add jsp/html preview feature