• Post Reply Bookmark Topic Watch Topic
  • New Topic

When is the Struts Convention Plug-in Applied?  RSS feed

 
Tyler Camp
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I’m trying to understand how the Convention plugin determines when to do URL interpretation. In some REST Plug-in examples I see `PrefixBasedActionMapper` configured with ”/rest:rest,:struts" and it seems that Convention is only applied to the `rest` mapper and not the `DefaultActionMapper`. Is this correct? Either way, under what conditions does the Convention plugin kick in for requests?

I’ve been googling like a mad-man these last two days and can’t seem to find any explanation. Inspecting the plugin source didn't give any insights either.

https://struts.apache.org/docs/convention-plugin.html
https://struts.apache.org/docs/rest-plugin.html
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!