extjs - How can we call another view from a view Spring MVC -


i using springmvc , extjs project. in dispather-servlet: mapping (welcome.htm welcome.java file) , (process.htm process.java) file. welcome.java file return view name hello.jsp in hello.jsp using extjs ui components. in hello.jsp when user click button want redirect process.htm process.jsp executes how can or unclear question. please let me know

thanks.

i don't know if mean, how redirect

@controller public class pgpcontroller {      @requestmapping(value="/index.html", method=requestmethod.get)     public modelandview index(){         modelandview mv = new modelandview("index");         return mv;     }      @requestmapping(value="/signin.html",method = requestmethod.get)      public modelandview submit){          modelandview mv = new modelandview("signin");          return mv;      }      @requestmapping(value="/signin.html",method = requestmethod.post)      public modelandview submit(){         modelandview mv = new modelandview("redirect:signin.html");          return mv;      } } 

on example above post requests signin.html redirected signin.html.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -