js| data
There are a lot of things to deal with from JSP to servlet or action: Data validation includes JavaScript validation of JSP pages and server-side validation, processing of file uploads, file upload size control, prevention of two submissions, multipart The processing of a form's non-file field. These things do not belong to the JSP or the action, and our developers will take these things directly to the JSP or to the action process, of course, if the MVC framework is used to develop, some MVC framework contains the processing of this part. The more famous are the Formbean and webwork interceptors with struts, but this part is closely tied to their own web framework and needs to be configured for data validation, but it also adds to the developer's focus. We have to focus on verifying the unity of the configuration file and the JSP form, and the original functionality is not very powerful, and a lot of trouble still needs to be handled by hand code. We emphasize that the focus on JSP pages should be concentrated in the JSP, JSP finished this part of the content should also be completed, but the prerequisite is not to increase the workload of JSP, and to change the role of JSP assumed.
We keep doing regular things by hand, constantly writing JavaScript to validate form data, writing server-side data validation in action or elsewhere, or using smartupload to process file uploads, and compute complex upload paths and file names. In fact, these things can be done automatically, without a line of code.
JVF is a set of tags, which is precisely a label, he removed the shortcomings of the label, leaving the advantages of the label. Because the JSP page uses the label to cause the Dreamwave and so on the visual editor to the page to be difficult directly edits, to the page processing difficulty, but JVF does not have this question. In the example, you will see that the form written by JVF is a perfectly standard HTML form.
and the adoption of JVF will unify this process, JVF is just a component, there is no dependency, as smartupload as easy to use, but the function is very powerful
You can use this address (example) to view JVF simple and powerful examples