*
The moose likes Struts and the fly likes Struts & JSTL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts & JSTL" Watch "Struts & JSTL" New topic
Author

Struts & JSTL

Mourouganandame Arunachalam
Ranch Hand

Joined: Oct 29, 2008
Posts: 396
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


Mourougan
Open Source leads to Open Mind
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 684

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.


Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Struts & JSTL
 
Similar Threads
Comparing issue in JSP
How to use Struts-EL tag in web application ??
Error Message in Struts
Problem with c:forEach tag
problem in jstl struts