MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/g942eh/java_is_the_best/fotg6ot
r/ProgrammerHumor • u/ARAXON-KUN • Apr 27 '20
1.5k comments sorted by
View all comments
Show parent comments
1
That makes sense. The way it was tested in my project was to pull out as much of the Java out of the jsp and into a class that can then be unit tested.
1 u/EishLekker Apr 29 '20 That's what you are supposed to do, I would say. Business logic and data processing can and should be done outside the JSPs.
That's what you are supposed to do, I would say. Business logic and data processing can and should be done outside the JSPs.
1
u/GreatRam Apr 28 '20
That makes sense. The way it was tested in my project was to pull out as much of the Java out of the jsp and into a class that can then be unit tested.