Since I had already tilized the project, extracting the header, footer and JavaScript validation there was nowhere to turn but the morass of filthy scriptlet in the body itself.
a servlet by another name
does _not_ a good presentation layer make
It took my most of the day to figure out what the hell was happening, about 2 hours to extract all the usebean references and convert ugliness to jsp tags and move the logic to the action class.
But the end of the day, there is not a single <% %> in sight and the body is in 5 "@ include" files - and JAVAC is no longer pooping it's pants.
A bit painful, but satisfying in the end - like crazy good sex ;)
0 comments:
Post a Comment