Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts tags or JSTL ?

 
venkatesh rajmendram
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic