RE: Velocity integration with Spring

2006-05-15 Thread Baisak, Ranjan
Yes Bubna, you are right. I could able to see everything without any exception. thanks -R -Original Message- From: Nathan Bubna [mailto:[EMAIL PROTECTED] Sent: Mon 5/15/2006 1:47 PM To: Velocity Users List Subject: Re: Velocity integration with Spring I'm fairly sure that you shou

Re: Velocity integration with Spring

2006-05-15 Thread Nathan Bubna
I'm fairly sure that you should be be adding your message and homeuris to the model (which i believe should be a Map) rather than to the view. also, when you use any of those things in your template, you should be doing just $message or $homeuris rather than $req.getAttribute('message') On 5/15/

Velocity integration with Spring

2006-05-15 Thread Baisak, Ranjan
The Spring controller contains following codes public ModelAndView handleRequest(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) { Collection channels = channelDAO.getHomeUris(); ModelAndView view = new ModelAndView("index","channelDAO",channelDAO); view.addObject("