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

What do you mean by filter in servlet?

0 Answers  


What are the phases of a servlet life cycle?

0 Answers  


How many servlet objects are created?

0 Answers  


How to pass JavaBeans data to JSP using Servlets?

2 Answers  


Can you send the mail from a servlet ,if yes tell how?

2 Answers  






what is multiple server?

0 Answers  


Name the webserver that is used to run Servlets?

5 Answers  


When Servlet is unloaded?

0 Answers  


What do you mean by web applications?

0 Answers  


which type of data passing is used in realtime?

1 Answers  


How to get the IP address of client in servlet?

0 Answers  


Can we write a constructor for a Servlet class ? if yes how ? if no why not ?

10 Answers  


Categories