File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts & JSTL

 
Mourouganandame Arunachalam
Ranch Hand
Posts: 396
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Based on my experience with struts 1.x on the usage of logic and bean tags are troublesome and performance overhead. So, I always favor to JSTL. How about in struts 2 ? Any improvements?

Thanks,
Mourougan
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Struts 2.0 is more advance than Struts1.

It's use makes application development fast. It provide so much plug-in for development.

So, first see examples of Struts 2.0 and you get more feature.



Thanks,
Nishan Patel.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Based on my experience with struts 1.x on the usage of logic and bean tags are troublesome and performance overhead. So, I always favor to JSTL. How about in struts 2 ? Any improvements?

In Struts 1 JSTL should be used when there is functional overlap between the S1 and JSTL tags--recall that the S1 tags were created before JSTL existed.

JSTL can also be used in S2 apps where functionality overlaps and there's more of a performance reason to do so (in S1 the tags weren't significantly slower than JSTL for most purposes). The expression language currently used in S2 (OGNL) is fairly slow, however. I haven't had serious performance issues in my own applications, but some users have on tag-heavy pages.

Dave
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic