Hi,
I realized a Struts 2 process to create a new contract. As template results
I tried JSP and Velocity. All JSP templates are rendered correct, but the
velocity templates are rendered twice. So I see the same content twice on
the page.
Are there people with similar problems? Does somebody has a solution?
Greets
I'm using Struts 2.0.11.
struts.xml:
...
<package name="contract" namespace="/contract" extends="base-package">
<result-types>
<result-type name="velocity" default="true"
class="org.apache.struts2.dispatcher.VelocityResult" />
</result-types>
<action name="createContract*" class="CreateContractAction"
method="{1}">
<interceptor-ref name="conversationStack" />
<result
name="input">/WEB-INF/vm/contract/createContract-input.vm</result>
<result
name="success">/WEB-INF/vm/contract/createContract-success.vm</result>
</action>
</package>
...
--
View this message in context:
http://www.nabble.com/Struts-2---Velocity-Templates-rendered-twice-tp17250628p17250628.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]