What is the URL you are trying?
/sampleAjax/view/getResources
Based on assuming it is using the RequestMapping via Bean NameMapping Handler and using the convention of configuration. I use "view" as meaning ViewController and the getResources part being the method name.
I always get mixed up with the "/" in the front. Is that supposed to be there in the
servlet mapping or should it be sampleAjax/*
I tend to go find samples and see if they had a "/" in front or not, and never memorized it.
Try those out and let us know if that helps.
Mark