What is Difference between JavaBeans and taglib directives?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is http servlet? Explain with the help of an example.
Is the init(ServletConfig sc) throws IOException or not?
How servlets are deployed in java?
What are the key methods that are involved in processing of http servlets?
What is the purpose of dispatcherservlet properties?
What is called Session Tracking?
waht is the main diference b/w servelts and JSP ?
How to commuincate between an applet and a servlet?
How is an application exception handling is done using a servlet?
Explain the difference between jsp and servlet?
How do I support both get and post from the same servlet?
What methodology can be followed to store more number of objects in a remote server?