Since I was having a hard time understanding the MVC2 model behind servlets and JSP, I decided it'd be helpful to read a book on the subject.
Examples in the cattle drive demonstrate JSP with use of scriptlets. However, the book advocates that scriptlets are "bad" and EL + JSTL are "good."
What is the preferred practice to use in the cattle drive?
Joined: Mar 15, 2001
Great book! If I remember correctly, the problem with scriptlets is that web designers might not be java programmers, and they would prefer something easy to understand and maintain in their html code. For the drive assignments, I'd just go with scriptlets, as your nitpickers are java programmers, and the MCV2 architecture is the focus, not placating web designers!