hi all

i use struts2 with velocity

i just do several testing , the template is velocity, and freemarker :)

i got this

if we put the template in the source, and deploy to WEB-INF/classes

the template loaded perfectly

but when i try to move all the file inside the classes to a .jar and put in
the WEB-INF/lib

i got errror, the template is not found

anyone have this issue, i read and google, and get we must put ObjectFactory
of XWork, i see that struts-default.xml have that bean, so in my opinion, we
dont need it.

right now, my conculsion, velocity / freemarker can be implemented in web
location path or classpath, but still cannot use the jar classpath, must the
folder based classpath, is this opinion right?

anyone can help me out.

Frans

Reply via email to