File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Stiff learning curve compared to struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Stiff learning curve compared to struts" Watch "Stiff learning curve compared to struts" New topic

Stiff learning curve compared to struts

Anselm Paulinus
Ranch Hand

Joined: Sep 05, 2003
Posts: 390
Seems JSTL has a stiffer learning curve compared with Struts which already has most of the tag libraries written for one. When would one chose JSTL over struts or in other words is there any advantage of JSTL over struts.
Anselm Paulinus
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

Firstly, I disagree with your premise. I think JSTL is incredibly simple to learn as opposed to a rather large (and obtuse, in my opinion) framework like Struts.
The biggest hump in using JSTL effectively is wrapping your mind around the expression language -- which is something you'll need to do anyways since JSP 2.0 is coming and the expression language will feature prominently.
Besides, Struts is a complete web application framework. Why use it if all you need are JSP tags?

[Asking smart questions] [About Bear] [Books by Bear]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Are you talking about the STRUTS Taglibs? Or STRUTS as an Application Framework. If you are speaking of STRUTS as an Application Framework, I agree with Bear completely. I have been trying to really grasp struts off and on for the last few months, and I still haven't gotten it.
So I preceded back to learn JSP/Servlets in detail and when I have a deep understanding of that, maybe STRUTS will click for me more.

GenRocket - Experts at Building Test Data
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

I feel that JSTL is quite simple.

Sue Spielman
Ranch Hand

Joined: Apr 21, 2003
Posts: 56
There is an overlap in the functionality provided in the current Struts taglibs and the JSTL. The JSTL will more than likely take precedence over the Struts taglibs. In fact, if you find a duplication of functionality between the taglibs and the JSTL, choose the JSTL action.
Personally, I feel that it is fairly easy to learn the JSTL and start to immediately see productivity gains. The book is quite straightforward on how to use the actions as well as all of the attributes. The sample code provided should have you up and running in no time.

President/Consulting Engineer<br />Switchback Software LLC<br /><a href="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: Stiff learning curve compared to struts
It's not a secret anymore!