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

Struts tags or JSTL ?

venkatesh rajmendram
Ranch Hand

Joined: Dec 05, 2000
Posts: 130
Hi,

I was wondering about this on the apache strurs site.

"Note: - Some of the features in this taglib are also available in the JavaServer Pages Standard Tag Library (JSTL). The Struts team encourages the use of the standard tags over the Struts specific tags when possible. "

They encourage to use JSTL rather that struts tags, does that hint something...in future ?

Any thoughts...

- Venkatesh Rajmendram


SCJP 1.4, SCWCD<p>Ours is a world where people don't know what they want and are willing to go through hell to get it.<br /> - Don Marquis
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
The struts roadmap says,

We anticipate that Struts 2.x will rely on JSTL and the JavaServer Faces API as supporting technologies. However, the focus of the Struts framework will remain on the Controller aspect of a Model 2/MVC architecture. The core framework will continue to be both Model and View independent.

Development of Struts 2.x will include taking a completely fresh look at the internal architecture. The goal for 2.x will be to incorporate everything we've learned in the past years of Struts usage, and create something even better.
venkatesh rajmendram
Ranch Hand

Joined: Dec 05, 2000
Posts: 130
Thanks for information Carol...Looks like that is the direction of Struts tag lib...I think it is good to start using JSTL right away instead of struts tags, so that it will be fully supported by struts 2.0 and also it is easy to convert from 1.x to struts 2.x

- Venkatesh Rajmendram
Velika Srbija
Ranch Hand

Joined: Jan 15, 2002
Posts: 172
I think, using JSTL is OK. It is very similar with Struts tag-libs.

Off-topic note:
Including JSF in Struts 2.0 is not a very good idea. JSF is not mature yet. It is far behind ASP.
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

As an added note, the quote that you gave is in reference to the bean and logic tags. The team still recommends the use of Struts' html tags.


A good workman is known by his tools.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts tags or JSTL ?