wildcard mapping changes namespace?

2010-06-25 Thread szerintedmi
Hi All, Do you have an idea why my wildcard action mapping changes the namespace? If I go the url eg: http://host/project/23 Then the namespace seems to be changed: all s:url tags generates links with project/ Action definition: [...] {1} /project/viewProje

Re: PRG pattern question

2010-05-31 Thread szerintedmi
es what it says :D > On Wed, May 26, 2010 at 5:45 AM, szerintedmi > wrote: > > Hi Everybody, >> >> I would like to ask some advice implementing PRG pattern with struts2 >> (using >> 2.0.14). >> >> I can easily handle a normal scenario : >

PRG pattern question

2010-05-26 Thread szerintedmi
Hi Everybody, I would like to ask some advice implementing PRG pattern with struts2 (using 2.0.14). I can easily handle a normal scenario : 1.GET showItem.action?itemId=1 result: showItem.jsp 2. POST saveItem.action result: redirect-action: success?itemId=1 3. GET success?itemId =1 result