I used the include tag in a JSP file for a kind of mini template. I put the generalized parts in seperated text files and included them in my special JSPs. This is very slow on loading. Now I want to include this parts via velocity on the build process.
I learned that velocity has a "parse" and "include" command. But how could I define a ant task for velocity so that these commands are used by velocity to generated my new JSPs? I don't find any examples for using velocity in such a simple way with ant.
Maybe there is an alternative to velocity.
Thank you very much!
Vivid