Q:

Request mapping not executed

Im not quite sure if this is related to spring or not  :D 
I have a form:
<form class="csvForm" method="post" action="/admin/myentity/bulkUpload" style="display: none;">

and I have a controller:
@RequestMapping("/" + AdminMyController.SECTION_KEY)
@Secured("PERMISSION_OTHER_DEFAULT")
public class AdminMyController extends AdminBasicEntityController {
    protected static final String SECTION_KEY = "myentity";

@RequestMapping(value = "/bulkUpload", method = RequestMethod.POST)
public String showBulkUpload(HttpServletRequest request, HttpServletResponse response, Model model) throws IOException {
  Map<String, Object> responseMap = new HashMap<String, Object>();

  return "sts";
  }
}

Im wondering why it wont get in showBulkUpload method :o
when I changed the method into GET.. it will get in the method.. Im wondering what did I miss
and btw, there's no issue with the controller bean coz it gets scanned 100%

A:

This is somewhat related to Spring but is more specific to the CsrfFilter in Broadleaf. I am going to guess that there is a stack trace in your logs from CsrfFilter. This filter (hooked up in applicationContext-security.xml in Broadleaf) will ensure that all POST requests have a csrfToken request parameter (CSRF stands for Cross Site Request Forgery). If you replace the snippet you posted:
<form class="csvForm" method="post" action="/admin/myentity/bulkUpload" style="display: none;">

With the blc:form Thymeleaf processor (which automatically populates a csrfToken hidden input parameter) into your HTML):
<blc:form class="csvForm" method="post" action="/admin/myentity/bulkUpload" style="display: none;">

Then it should work.

