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 |
Explain the difference between jsp and servlet?
What are important features of Servlet 3?
When should you prefer to use doget() over dopost()?
What are the different methods involved in generic servlet?
how can we create object to a class in a jsp file?
5 Answers Accenture, L&T, TCS,
What is Difference between JavaBeans and taglib directives?
What is servlet interface?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
Why doesn’t a servlet include main()? How does it work?
How can we implement a jsp page?
What is Request Dispatcher?
i need connection pooling code.....from harpreet.your@gmail.com