添加spring smarty的viewresolver