Re: sending param as part of action

2008-02-11 Thread Anubhav Gupta
Oh, got it. thanks. On Feb 11, 2008 8:35 AM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Anubhav Gupta <[EMAIL PROTECTED]> wrote: > > I get Servlet Exception: equal symbol expected on that line. > > Right; it's not valid XML. > > Dave > > >

Re: sending param as part of action

2008-02-11 Thread Anubhav Gupta
I get Servlet Exception: equal symbol expected on that line. On Feb 11, 2008, at 8:06 AM, Dave Newton wrote: --- Anubhav Gupta <[EMAIL PROTECTED]> wrote: But passing property as value to s:param does not work. In general, it's a good idea to give more of a hint than "i

sending param as part of action

2008-02-11 Thread Anubhav Gupta
Hi, I am very new to Struts 2. I am trying to do this: listOfRestaurantsByDeliveryPin will give list of Restaurant object, which have name and id properties. I want to display the name of restaurants as a link, and when user clicks it, go to the action with restaurant id as request param.