You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Bayarsaikhan VOLODYA <ba...@gmail.com> on 2005/08/11 10:42:13 UTC

$link.setAction doesn't work

Hi,

in my struts config, 

<action 
path="/Index" 
parameter="/WEB-INF/Pages/Index.vm" 
type="org.apache.struts.actions.ForwardAction"/>

and in my welcome.vm, i used 
$link.setAction('Index')

it should output /ib/Index.do but it outputs only /ib
(ib - is the context root of my application)

where and what am i missing?

-- 
Bayarsaikhan VOLODYA