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

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -