This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to add param in redirect View

 
Monicka Akilan Rk
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,

Am working in spring. I use redirect view to redirect to a particular url , In that controller post method i used param to differentiate different different action called search,update,Delete.
Now i dont know how to pass param in redirect view

******************************* My redirect code is*********************
RedirectView view = new RedirectView(".abc.xyz?Get=Get", true);
return new ModelAndView(view.getUrl());

*********************************Controller method have to call*****************
@RequestMapping(value = "/aaaa", method = RequestMethod.POST,params = {"search"})

==========================================================================
I used ".abc.xyz " this is a tiles view name.
Whether i have to give view name or direct url.
I need to call that method..


==========================================================================

I got 404 error it cant reach that controller


Please help me to sort out of this problem.


Thanks in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic