简体   繁体   中英

Including jsp file in velocity template

Is there a way to include (and parse) JSPs in Velocity templates?

I am migrating an application from using JSPs to Velocity templates and I still want to be able to use some of the JSP includes I have.

I tried the #include directive and $import but both are not working. i am getting Velocity [debug] Null reference error..

这是不可能的,jsp和速度模板不能一起使用。

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