I am working on a Web application. I use Tomcat as the servlet container. Right now, I am using JSP Scriptlets to render the html forms and elements. However, I have heard that using Scriptlets have become a taboo nowadays. So what are the available options/alternatives that are simple and easy way ?
EDIT : My design is MVC, then question will be “available options to the View part”.
This is to make your project designed using MVC. The business logic should be separated from the user-interface. You should handle your logic in your
servletclasses instead.Edit:
You could use
JSTLin your JSP for handling simple logic. Start reading about JSTL core. Hope this helps.