added jsp/jsf functionality