I've been a Java developer for 14 years, and most of my projects are where we had to get things done, rather than be able to plan and design. Things are quiet at the moment, and for the sake of the company (and my CV), I want to do things right.
When writing JSPs, I usually declare a few Java classes at the top in <% %>, and then insert bits of Java code to iterate through ArrayLists/HashMaps, or when I need to SELECT a particular in a tag.
I've used JSTL in the past, but it drove me mad trying to manipulate the construct to do what I wanted to do; writing the equivalent in Java was trivial.
What should I be doing? Is JSTL the "correct" way of doing things? Have things moved on far more than that, that I should be using another way to write JSPs?
I currently use Struts (yep, not even Struts 2), and would like to move to Spring/Struts 2 if I could. But there's no point me driving a Ferrari if I can't even ride my pushbike correctly.
Thoughts, suggestions, criticisms are all very welcome.