简体   繁体   中英

Using JAX-RS / Jersey with Freemarker templates

There are examples on the web showing how to use the JAX-RS implementation Jersey with custom template engines like FreeMarker . But these examples are looking a bit improvised or dated . There is also one example relying only on JAX-RS and not Jersey specific classes. Is there a mature ViewProcessor implementation for FreeMarker or do I have to write my own?

This example here doesn't use Sun specific stuff, it uses standard jax-rs constructs...

http://blogs.citytechinc.com/sjohnson/?p=32

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM