Re: Struts2 namespace confusion

2017-05-01 Thread Ralph Grove
On 2017-04-28 04:33 (-0400), Lukasz Lenart wrote: > 2017-04-27 13:56 GMT+02:00 Ralph Grove : > > Matt, did this solve your problem? I'm having the same issue with > > namespaces. With this example, I can request ".../Home", ".../Home/Alpha", > > ".../Alpha/Alpha/Alpha", etc.The action exe

Re: Struts2 namespace confusion

2017-04-28 Thread Lukasz Lenart
2017-04-27 13:56 GMT+02:00 Ralph Grove : > Matt, did this solve your problem? I'm having the same issue with namespaces. > With this example, I can request ".../Home", ".../Home/Alpha", > ".../Alpha/Alpha/Alpha", etc.The action executes in each case, but if the > URL contains more than one s

Re: Struts2 namespace confusion

2017-04-27 Thread Ralph Grove
Matt, did this solve your problem? I'm having the same issue with namespaces. With this example, I can request ".../Home", ".../Home/Alpha", ".../Alpha/Alpha/Alpha", etc.The action executes in each case, but if the URL contains more than one slash, the relative path is messed up for files i

Re: Struts2 namespace confusion

2014-05-28 Thread Matt Williams
I found the following property: struts.mapper.alwaysSelectFullNamespace (which is false by default). To me, it should be 'true' to match how the documentation explains matching actions to namespaces and falling back to default namespace. -- On Sat, May 24, 2014

Re: Struts2 namespace confusion

2014-05-25 Thread Matt Williams
Here is my struts.xml file:                         /Welcome.jsp                                            /Search.jsp                On Saturday, May 24, 2014 8:51 PM, Dave Newton wrote: This isn't the struts.enable.SlashesInActionNames = false setting? Dave On Sat, Ma

Re: Struts2 namespace confusion

2014-05-24 Thread Dave Newton
This isn't the struts.enable.SlashesInActionNames = false setting? Dave On Sat, May 24, 2014 at 2:50 PM, Lukasz Lenart wrote: > Can you share your struts.xml file? > > Maybe you have defined default-action-ref or wildcard mapping? > > 2014-05-24 18:58 GMT+02:00 Matt Williams : > > > > > > No,

Re: Struts2 namespace confusion

2014-05-24 Thread Lukasz Lenart
Can you share your struts.xml file? Maybe you have defined default-action-ref or wildcard mapping? 2014-05-24 18:58 GMT+02:00 Matt Williams : > > > No, there are no other 'search' actions defined anywhere else. > > > > -- > On Sat, May 24, 2014 11:46 AM CDT Ken McWilli

Re: Struts2 namespace confusion

2014-05-24 Thread Matt Williams
No, there are no other 'search' actions defined anywhere else. -- On Sat, May 24, 2014 11:46 AM CDT Ken McWilliams wrote: >What he explains is likely the result of a search action also mapped in the >default namespace. >On 2014-05-24 9:35 AM, "John Patrick" wrote:

Re: Struts2 namespace confusion

2014-05-24 Thread Ken McWilliams
What he explains is likely the result of a search action also mapped in the default namespace. On 2014-05-24 9:35 AM, "John Patrick" wrote: > > Not seen this happen myself, what strut > > Not seen this happen myself, what struts jar's do you have as it might be > something like the convention plug

Re: Struts2 namespace confusion

2014-05-24 Thread Matt Williams
For struts 2.1.8, I am using the following jars: - freemarker-2.3.15.jar - ognl-2.7.3.jar - struts2-core-2.1.8.1.jar - struts2-json-plugin-2.1.8.1.jar - struts2-tiles-plugin-2.1.8.1.jar - tiles-api-2.1.3.jar - tiles-core-2.1.3.jar - tiles-jsp-2.1.3.jar - tiles-servlet-2.1.3.jar - xwork-core-2.1.6.j

Re: Struts2 namespace confusion

2014-05-24 Thread John Patrick
Not seen this happen myself, what struts jar's do you have as it might be something like the convention plugin... If your using maven then it might be useful for others to include what specific maven dependencies your including so potentially someone else can try using the exact same jars. John

Struts2 namespace confusion

2014-05-24 Thread Matt Williams
Hello, I have been using struts 2.1.8 for a while and last night noticed an issue with mapping actions working with any url. For instance in the struts.xml file: - I have a package with a namespace of "/employee". - Within the package, I have an action mapping "search" - The webapp name is "TestW