On Sat, Mar 8, 2008 at 12:01 AM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Frans Thamura <[EMAIL PROTECTED]> wrote: > > /view/frontpage/login/login.vm > > [...] > > resource '/WEB-INF/view/frontpage/login/login.vm' > > Looks to me like Velocity is expecting them to be under WEB-INF, no? > i got it :) hehe, i put /WEB-INF in my .xml anyway what is the path for template my tempalate folder structure is /homevm mean the file in the root i try to put the template just "home.vm", got this error got this error Unable to find resource '//home.vm' my action setting like this <action name="home" class="org.blueoxygen.papaje.actions.FrontPage"> <result name="success" type="velocity">home.vm</result> <result name="input" type="velocity">home.vm</result> </action> or <action name="home" class="org.blueoxygen.papaje.actions.FrontPage"> <result name="success" type="velocity">/home.vm</result> <result name="input" type="velocity">/home.vm</result> </action> i think i have difficulty to map the template inside jar with the result tag can help?