I've been searching high and low for a solution to this simple problem, but I
can't find anything:
How can I get Struts2 to handle non-existing actions, globally? I thought a
global exception mapping would do it, but it doesn't seem like an exception
is being thrown when an action can't be found.
I can sort of understand your request, but there are a few things to
consider. First off, Struts tries really hard to be de-coupled from the
servlet / JSP specs, so what you're asking is not quite as easy and some
quick configuration hacks. Probably the easiest way to get what you want
is to config
Thanks for the quick reply.
I may have spoken too soon about the wildcard mapping. I originally had the
"enable.SlashesInActionNames" property set to true before trying the
wildcard, thinking that would make the most sense if I want to match
everything under a namespace; however, setting it to fa
Hi all,
i'm trying struts2-rest-showcase. The orders example works fine. Now i'm
wondering how to access a product related to a order. Let's image that a
order has many products. For example, to access the order
it's just http://.../webapp/orders
so, to get a product of some order, how could i i
No problem, I think I might have read a little too much into your
original post too :)
I was thinking that you were looking for a more complex solution, but
wildcards are sufficient for most needs, especially if your namespace
is /.
I think there is an exception that does get thrown when no acti
5 matches
Mail list logo