File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Stiff learning curve compared to struts

Anselm Paulinus
Ranch Hand

Joined: Sep 05, 2003
Posts: 389
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
Marshal

Joined: Jan 10, 2002
Posts: 60991
    
  65

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?
bear


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

Joined: Jul 11, 2001
Posts: 15299
    
    6

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: 8919

I feel that JSTL is quite simple.


Groovy
Sue Spielman
Author
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.
Sue


President/Consulting Engineer<br />Switchback Software LLC<br /><a href="http://www.switchbacksoftware.com" target="_blank" rel="nofollow">www.switchbacksoftware.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stiff learning curve compared to struts