How to mix different types of views in spring configuration? -


greetings using jsp view technology in web app

<bean class="org.springframework.web.servlet.view.internalresourceviewresolver">         <property name="prefix" value="/web-inf/views/"/>         <property name="suffix" value=".jsp"/> </bean> 

and want use velocity view technology in sending emails , want configure in xml file, don't know how ?

any ideas how ?

if want use velocity construct emails, not "view", far spring mvc concerned. views , viewresolvers used render output browser.

spring mvc provide support using velocity view layer, isn't relevant you're trying do.

however, spring provides support classes make clunky velocity api bit less awkward use (see javadocs). these have no relation spring mvc view layer, though. use them directly code, building emails , sending them.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -