Re[2]: Ranko like question: What is the sense of some of these tags libs?

2003-07-24 Thread Martin Naskovski
JSTL+the struts tags and/or struts-el, for me has completely eliminated the need to use scriptlets. Using scriptlets invites the use of business logic in your view (at least, for less experienced programmers). This, IMHO, is a major violation of the MVC paradigm, and programmers doing that should

RE: Re[2]: Ranko like question: What is the sense of some of these tags libs?

2003-07-24 Thread Ranko Bijelonic
In the example below, there isn't much difference between the scriplet and the tag. Both of them are conditionals checking if index is an even number. That fact that one is a scriptlet and the other is a tag is only a matter of 'syntax' to me. Logically, the developer is doing the same thing