Thanks so much Dave.. Its working fine after turning on dynamic method invocation. You are a life saver.. :)
Thanks! -- VM On 6/18/12, Dave Newton <davelnew...@gmail.com> wrote: > It *does* understand that URL, but you need to have dynamic method > invocation turned on. > > Dave > > On Mon, Jun 18, 2012 at 11:35 AM, vivek mishra > <mishravive...@gmail.com>wrote: > >> Hi Folks, >> >> I have different methods in my action class and I like to call >> specific one from a link. >> For this I am using <s:url> tag for calling action class method: >> >> <s:url id="teamFbId" action="TeamFeedback" method="init" ></s:url> >> >> I then pass it to <s:a> tag: >> >> <s:a href="%{teamFbId}" cssClass ="idividual" title="Provide Team >> Feedback" /> >> >> While accessing on browser the url is formed like this: >> localhost:8080/project/TeamFeedback!init.action >> >> Struts.xml doesn't understand this url. >> >> Please let me know why url changes in this format and is there any >> other way for calling action class method by not specifying it in >> struts.xml file? >> >> Any help will be much appreciated.. >> >> Thanks! >> -- >> VM >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org