How can i send get method's data to post method without using view?
<p>Suppose, I have a value/data(in my exaple <strong>name</strong>) in the get method.I want to send and access it in the post method without using view.How can I do that?</p>

<pre><code>@RequestMapping(value="/edit",method = RequestMethod.GET)
    public String getPerson(ModelMap model,Person person){

    String name="Person Name";
    return "personEdit";
}

@RequestMapping(value="/save",method = RequestMethod.POST)
public String savePerson(ModelMap model,Person person){
     //I want to access/get **name** here

    return "details";

}
</code></pre>