Two Laptop Bag*
The moose likes Cattle Drive and the fly likes Cattle Drive + Servlets: Preferred Practice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Cattle Drive + Servlets: Preferred Practice" Watch "Cattle Drive + Servlets: Preferred Practice" New topic
Author

Cattle Drive + Servlets: Preferred Practice

Richard Broersma
Ranch Hand

Joined: Apr 28, 2009
Posts: 63

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?
Carol Murphy
village idiot
Bartender

Joined: Mar 15, 2001
Posts: 1194
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!
Richard Broersma
Ranch Hand

Joined: Apr 28, 2009
Posts: 63

Thanks Carol.
 
 
subject: Cattle Drive + Servlets: Preferred Practice
 
Similar Threads
My First step towards SCWCD
JSP & Servlets thru Online
A easy question
CastMap getTrimmedString() error?
Beginner Needs Advice