Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Struts and the fly likes STRUTS and JSTL pro's and cons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "STRUTS and JSTL pro Watch "STRUTS and JSTL pro New topic

STRUTS and JSTL pro's and cons

Bapi Reddy

Joined: Apr 23, 2004
Posts: 1
Can anybody give ur thoughts on the pros and cons of using
"struts-html-el.tld" instead of "Struts-html.tld"
"struts-validator.tld" instead of "java script validations"
c.tld and fmt.tld
Also use of "core" and "format" tags of JSTL instead of "bean" and "logic" tags.
Thanks in advance
Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

JavaScript can be turned off in a user's browser and you've no guarantees that the browser handles it the proper way anyhow.
I don't think I've faced a problem yet that couldn't be solved without EL, be it Struts or JSTL. How many levels of dynamic activity does one really need anyway? I try to stick to my html-logic-bean trifecta.
The struts validator can use JavaScript validation if you really want to. The whole validator framework is good stuff once you get over the learning-curve speedbump.

A good workman is known by his tools.
I agree. Here's the link:
subject: STRUTS and JSTL pro's and cons
It's not a secret anymore!