Re: Configuration question

2021-02-22 Thread Tamás Barta
Hi, My namespace was set to '/', if I remove it and use the default namespace then it works well. Regards, Tamás On Mon, Feb 22, 2021 at 2:50 PM Dave Newton wrote: > Are you asking about default-action-ref? > > On Mon, Feb 22, 2021 at 08:28 Tamás Barta wrote: > > > Hi, > > > > I would like St

Re: Configuration question

2021-02-22 Thread Dave Newton
Are you asking about default-action-ref? On Mon, Feb 22, 2021 at 08:28 Tamás Barta wrote: > Hi, > > I would like Struts 2 to execute MyAction when there is no action mapping > for a path. So I set > > >... > > > in struts.xml. > > When I request to url /foo or /foo.action, it works as expe

Configuration question

2021-02-22 Thread Tamás Barta
Hi, I would like Struts 2 to execute MyAction when there is no action mapping for a path. So I set ... in struts.xml. When I request to url /foo or /foo.action, it works as expected, my Action is executed without any exceptions. But when I request to /foo/foo.action then my Action is execu