views:

10

answers:

0

I need help creating a custom *ViewResolver *

I have a velocity template rendering VXML that is located at

/billing/billingQuestionsMenu_pp.vm

then, in that template, I am forwarding to:

<submit next="#springUrl('/billing/billingQuestions/billingQuestionsMenuOption1.vxml')" />

Now in my Controller, I have a mapped method:

@RequestMapping(method = RequestMethod.GET)
public String billingQuestionsMenuOption1(ModelMap model) {
    logger.debug("billingQuestionsMenuOption1");       
    return "/billing/billingQuestions/firstBillMessage_pp";
}

I want this method to now call

/templates/billing/billingQuestions/firstBillMessage_pp.vm 

but it does not find it.

now If I change this to be:

/templates/billing/firstBillMessage_pp.vm 

everything works fine.

* How can I have my templates in a sub-subdirectory? *