What is Difference between JavaBeans and taglib directives?

Answers were Sorted based on User's Feedback



What is Difference between JavaBeans and taglib directives?..

Answer / nagababu

JavaBeans and taglib fundamendals were introduced for
reusability.But
Taglib are for generating presentation elements while
JavaBeans are good for storing information and state.

Is This Answer Correct ?    12 Yes 0 No

What is Difference between JavaBeans and taglib directives?..

Answer / debendra kumar dey

Both are reusable components. JavaBeans are used to
develope reusable components where as taglib directives are
used to prevent writting the business logic into the JSP
pages.

Is This Answer Correct ?    2 Yes 0 No

What is Difference between JavaBeans and taglib directives?..

Answer / qim2010

JSP Taglibs (taglib) are custom component tag template
libraries for Java. These tags Can manipulate JSP content.
Custom tags can simplify the complex operations much better
than the bean can. But require a bit more work to
set up. Used only in JSPs in a relatively self-contained manner.

JavaBeans are reusable software components for Java that can
be manipulated visually in a builder tool. Can’t manipulate
JSP content. Easier to set up. Can be used in both Servlets
and JSPs. You can define a bean in
one Servlet and use them in another Servlet or a JSP page.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Servlets Interview Questions

Can we refresh servlet in client and server side automatically?

0 Answers  


What are the benefits of using servlet over cgi?

0 Answers  


Write a program to show the functionality of servlets.

0 Answers  


Which exception is thrown if the servlet is not initialized properly?

0 Answers  


How to invoke a Servlet?

2 Answers   Mastek,






In servlets, Why do we need both GET and POST method implementations?

3 Answers   IBM,


What is the purpose of requestdispatcher interface?

0 Answers  


How do you run a servlet?

0 Answers  


why are using HttpServlet in realtime projects and why are not using Genericservlet

2 Answers  


How to set a cookie that is persisted only for the duration fo the clients session?

1 Answers  


Explain the role of dispatcherservlet and contextloaderlistener.

0 Answers  


Explain the difference between get and post method in servlet?

0 Answers  


Categories