catch the parameter post from view on same controller spring framework -
i have code in php language using codeigniter framework. need translate spring framework, little confuse translate send parameter controller paramater :
$tipe = $this->input->post("tipe_lst");
because in spring using:
@requestparam("tipe_lst") string tipe_lst
how catch parameter on same controller?, because parameter not have value, can null parameter, if use @requestparam, result can error.
you can set required = false
in @requestparam annotation.
this;)
@requestparam("tipe_lst", required = false) string tipe_lst
Comments
Post a Comment