Also would like to add another thing :

If I add the following line  :

<package name="newpetstore" extends="struts-default" namespace="/shop">

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 <smaz19...@gmail.com>wrote:

> 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 :
>
> <action path="/shop/editAccount"
> type="org.springframework.samples.jpetstore.web.struts.EditAccountAction"
>  name="workingAccountForm" scope="session" validate="true"
> input="/WEB-INF/jsp/struts/EditAccountForm.jsp">
>  <forward name="success" path="/shop/index.do"/>
> </action>
>
> in strutsconfig.xml. What should be the equivalent entry in struts.xml for
> this entry in Struts1 ?
>
> Regards,
> Srineel
>

Reply via email to