Thanks Dave, If we compare below two docs then var attribute is present only in 2.0.12 docs...so it looks like var has been added in 2.0.12....I feel if var attribute is not present in 2.0.12 then it can removed from docs for avoiding confusion..
http://struts.apache.org/2.0.8/docs/url.html http://struts.apache.org/2.0.12/docs/url.html Thanks Raghu On Wed, Nov 19, 2008 at 12:39 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- On Wed, 11/19/08, Raghu wrote: > > Hi, I just upgraded from struts2.0.8 to struts2.0.12 and > > used var attribute for s:url tag..but it is giving below... > > I verified my app's Web-inf/lib directory and found struts2- > > core-2.0.12.jar is there. Am I missing something? > > Yes, the "var" attribute is for S2.1 only; in S2.0 you need to use "id". > > Dave > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >