Re: Rewriting an application in Struts2 from Struts 1

2012-10-22 Thread Lukasz Lenart
2012/10/20 Srineel Mazumdar : > Hi, > > Thanks for your reply. However I still have some queries : > > 1) Why the namespace = path added ? I could have given /shop/editAccount. > What difference it would have made ? You should use namespaces as action should be just a simple labels, no slashes. I

Re: Rewriting an application in Struts2 from Struts 1

2012-10-22 Thread Lukasz Lenart
2012/10/20 Srineel Mazumdar : > Also would like to add another thing : > > If I add the following line : > > > > then I think I do not need to add namespace in all the entries?? Yes Regards -- Ɓukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://c

Re: Rewriting an application in Struts2 from Struts 1

2012-10-19 Thread Srineel Mazumdar
Also would like to add another thing : If I add the following line : then I think I do not need to add namespace in all the entries?? On Fri, Oct 19, 2012 at 9:28 AM, Srineel Mazumdar wrote: > Hi, > > I am trying t rewrite the jpetstore project in Struts 2. I am referring to > the Struts 1 i

Re: Rewriting an application in Struts2 from Struts 1

2012-10-18 Thread Lukasz Lenart
2012/10/19 Srineel Mazumdar : > Hi, > > I am trying t rewrite the jpetstore project in Struts 2. I am referring to > the Struts 1 implementation of the petstore project. I am having the > following problem : > > There is an entry : > > type="org.springframework.samples.jpetstore.web.struts.EditAcc