struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srineel Mazumdar <smaz19...@gmail.com>
Subject Re: Rewriting an application in Struts2 from Struts 1
Date Sat, 20 Oct 2012 04:19:25 GMT
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 <smaz19584@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message