Spring 3 mvc requestmapping dynamic param problem?

Controller @RequestMapping(value="/helloworld") public class WorldController{ @RequestMapping(value = "/{locname_here}/{locid_here}") public ModelAndView helloWorld(@PathVariable String locname_here, @PathVariable long locid_here) { //Logic } } The above code works for your requirement.

It is not working it says "The requested resource () is not available. " – Faisal khan Feb 21 at 7:33 Please send your sample URLs you try from your jsp. It will help me understand your requirement better – Vinod R Feb 21 at 7:37 What is the controller mapping.

If the controller mapping contains helloworld like the code below then the method need not have the same mapping @RequestMapping("/helloworld") public class .. – Vinod R Feb 21 at 7:39 The only mapping I have is as follows @RequestMapping(value = "/helloworld/{locname_here}/{locid_here}") – Faisal khan Feb 21 at 7:40 URL I USED localhost:8080/WorldSpring3/forms/helloworld/locname_here/… – Faisal khan Feb 21 at 7:50.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions