title: encrypt the form parameters and send it over url and then decrypt and open required page using spring mvc
body: <p>how can i encrypt the form parameters and send it over url and then decrypt and open required page using spring mvc ?? </p>
  
  <p>this is my main form page</p>
  
  <pre><code>&lt;html&gt;
  &lt;form:form action="go/show" method="get" target="_blank" &gt;
      &lt;table&gt;
          &lt;tr&gt;
              &lt;td class="label"&gt;&lt;label&gt;Application Name:&lt;/label&gt;&lt;/td&gt;
              &lt;td class="field"&gt;&lt;form:input path="appnames"  name="appname"        value="test" id="appname"/&gt;&lt;/td&gt;
          &lt;/tr&gt;
    &lt;/table&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>from this parameter go to getter and setters 
  and then to controller</p>
  
  <pre><code>@RequestMapping(value = "/", method = RequestMethod.GET)
  public ModelAndView form() {
  
  
       return new ModelAndView("form","command",new Credentials());
  }
  
    @RequestMapping(value = "/go/show", method = RequestMethod.GET)
  
  public ModelAndView show(@ModelAttribute("credentials") Credentials credentials()
  {
          return new ModelAndView("go/show")}
  </code></pre>
  
  <p>where as show is my landing jsp</p>
  
  <p>my URL shows like localhost:8080/go/show?appnames=test
  and shows my landing page show.jsp</p>
  
  <p>no Https is not an option and whenever i am trying to redirect url to something like localhost:8080/go/show?cjavs%20cknbs= it shows page not found ... after that how to show the desired page </p>