Re: How to use sitemesh with velocity with xwork velocity result type ?
Scott Farquhar <[email protected]> Fri, 20 May 2005 07:15:36 +1000
| Newsgroups | gmane.comp.web.sitemesh.general |
|---|---|
| Message-ID | <[email protected]> |
Does this link help you? http://wiki.opensymphony.com/display/SM/Using+Velocity+as+SiteMesh+Decorator On Thu, May 19, 2005 at 04:41:47AM -0500, shaym wrote: > Hello, > > I'm coding a little webapp with webwork+velocity > i only use velocity result type. For many reasons, i don't want to use dispatcher for my velocity templates. > > Can someone tell me , if is it possible to use sitemesh with velocity result type without declaring sitemesh-velocity servlet ? > > There is an extract from my xwork.xml : > <action name="home" class="xxx.xxx.web.webwork.actions.HomeAction"> > <result name="success" type="velocity">/WEB-INF/views/home.vm</result> > </action> > > There is an extract from my web.xml : > <servlet> > <servlet-name>webwork</servlet-name> > <servlet-class>com.opensymphony.webwork.dispatcher.ServletDispatcher</servlet-class> > <load-on-startup>1</load-on-startup> > </servlet> > <servlet-mapping> > <servlet-name>webwork</servlet-name> > <url-pattern>*.action</url-pattern> > </servlet-mapping> > > > > Thanks for advance > > --------------------------------------------------------------------- > Posted via Jive Forums > http://forums.opensymphony.com/thread.jspa?threadID=2369&messageID=6866#6866 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]