java - Refactoring JSP scriptlet loop to be more readable -
I have a few JSP code, which writes a tree representing reputable data. This data is displayed using nested layers.
The JSP code has many code snippets similar to the following code (which is the numeric value of variable differences in many closing tag tags):
Using scriptlets is not rude, and reading the code is not very easy at first sight. How can the code be re-applied to be more readable?
tag of JSTL (Java Server Pages Standard Tag Library).
Comments
Post a Comment