Generally, most commonly used in the FORM form in the database, if the data item is much more complex, use the usual request.getParameter () to get a character pattern, because JSP is different from PHP Perl other scripting languages, JSP pair The data type requires very strict, and cannot be freely converted in use. Therefore, it is necessary to perform manual conversion data type after using request.getParameter (). If there is more data items, it is very complicated, and the boring is easy,
In fact, there is also a function of automatically converting data types in JSP, using the usebean function. Such as an Form form is as follows: