> You could use jstl instead, but from my experience SQL in the jsp is > more trouble then it is worth and causes imense headaches > when you want to do something complicated. Just a suggestion but it > could be a good time for you to have a look at migrating to Struts or > some other framework which suits your needs :D
In other words, when JSP becomes too complex, it is time to transform your design into J2EE blueprint (which is endorsed by Struts). Each request can have three components handling it: - incoming JSP: packaging of request parameters into beans, attaching them to request scope - main servlet: does all the work of "business logic" and attaches resulting beans/variables to request scope - outgoing JSP: performs "presentation logic", based on data supplied to it via request scope. Nix.
