简体   繁体   中英

Spring MVC form example without JSP

Can a Spring MVC form example work without any JSP files? I am working on a project which is using htm templates and i wish to use Spring MVC forms in it. So is it possible to include Spring MVC forms without having JSP files?

Spring is able to use multiple view technologies beyong JSP, such as Velocity and Freemarker. Additionally, if you use AJAX, you can just use plain HTML with JavaScript. Since you are using HTM templates, my suggestion would be to use jQuery , or some other JS framework, to submit your HTM forms.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM