Programming Tutorials

Interview Question: What about JSTL and JavaServer Faces ?

By: Ash in Interview Tutorials on 2008-08-13  

Question: What about JSTL and JavaServer Faces?

Answer:

JSTL, the JavaServer Standard Tag Library, is a set of JSP tags that are designed to make it easier to develop Web applications. JavaServer Faces (JSF) is a specification for a new technology that promises to make it easier to write MVC applications, both for the Web and for the desktop.

The inventor of Struts, Craig McClanahan, is the specification co-lead for JavaServer Faces (JSR 127), and architect of the reference implemenation as well as Java Studio Creator. Both JSTL and JSF are complementary to Struts.

The mainstay of the Struts framework is the controller components, which can be used with any Java presentation technology. As new technologies become available, it is certain that new "glue" components will also appear to help these technologies work as well with Struts.

Struts originally came bundled with a set of custom JSP tags. Today, several extensions are available to help you use Struts with other popular presentation technologies, like XSLT and Velocity. Likewise, extensions for JSTL and JSF are now available as well.

The JSTL reference implementation is available through the Jakarta Taglibs site. A JSTL taglibs for Struts, Struts-El , is available and distributed with Struts beginning with the 1.1 release. The JSF specification and reference implementation is available through Sun's The JSF specification and reference implementation is available through Sun's Java ServerFaces page. An early-release JavaServer Faces taglib for Struts, Struts-Faces, is also in early release and available through the nightly build. The Struts Faces taglib is expected to work with any compliant JSF implementation, including MyFaces.

 

 

 

 





Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Interview )

Question: Difference between forward and sendRedirect in JSP?

Interview Question: What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

Differentiate between .ear, .jar and .war files.

What is Collection API?

Explain garbage collection?

The output of System.out.println(5>>2) in Java

Interview Question: What is the difference between Message Driven Beans and Stateless Session beans?

Question: How would you go about analyzing performance of an application?

Interview Question: What is the difference between EAR, JAR and WAR file?

What is the difference between Session Bean and Entity Bean?

Interview Question: What is Deployment descriptor?

Interview Question: Do ActionForms have to be true JavaBeans?

What is similarities/difference between an Abstract class and Interface?

Interview Question: Does Struts include its own unit tests?

Interview Question: Write code of any Action Class?

Latest Articles (in Interview)