Jayson Falkner wrote:

> Does anyone seriously use the JSTL XML, URL, and SQL tags? I'm looking 
> for some reasons as to why they are helpful, but, I can't really find 
> any. Obviously they work, but the important point seems to be the 
> tag's functionality would best be placed elsewhere using Model 2 (MVC).
>
> If anyone is seriously using them and has a good argument as to why 
> they are helpful, I'd like to discuss it with them further. Does anyone? 

Good question. One thing to consider is that you can use some of those 
tags in read-only mode, and not break the MVC paradigm. For example, you 
can use <sql:query> to query a database and access the results. That 
does not break model data encapsulation, and saves some servlet 
(presumably) the trouble of executing the query and packaging the 
results for a view (JSP page) to access. On the other hand, if you want 
to adhere to MVC, you probably don't want to use actions like 
<sql:update> or <sql:transaction> which actually modify model data.


david

>
>
> Cheers,
>
> Jayson Falkner
> [EMAIL PROTECTED]
>
>
> -- 
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
>
>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to