What is Difference between JavaBeans and taglib directives?
Answer Posted / 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 View All Answers
Why are servlets used?
What is the use of welcome-file-list?
What is the
Which application server is best for java?
What is the use of servlet context?
What are all the ways for session tracking?
Why jsp is better than servlet?
why we should override only no-agrs init() method.
What do you mean by httpservlet?
what do you understand by url rewriting?
What is the functionality of actionservlet and requestprocessor?
Explain web application directory arrangement?
How do you communicate in between Applets and Servlets?
What are the kinds of http requests?
Explain servlet.