How to use sitemesh with velocity with xwork velocity result type ?

shaym <[email protected]> Thu, 19 May 2005 04:41:47 CDT
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <9449849.1116495737716.JavaMail.os-j2ee@opensymphony01.contegix.com>
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]