This is a question of design and a question of good practice. How you structure your Java web development, so there is a lot of logic in the JSP file. If you use any JSP tags for structures or loops. I see a lot of code that makes logic difficult to follow due to poorly designed JSP files. And then, when you want to output to another format, such as a PDF or an XML document, you cannot do this, because all the logic is in the JSP file.
Are there any tips or tricks you use to develop Java websites.
I am currently using a combination of Spring, Hibernate, Struts ... and work with some servlet code.
There are good practices related to Java development. Many of us who have worked for a while know them. What are some good JSP development practices.
source share