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
How to get the actual path of servlet in server?
How to notify an object in session when session is invalidated or timed-out?
How do we go with database connection and log4j integration in servlet?
Explain Action Servlet?
Is servlet a framework?
What's the use of servletcontext?
What are Servlets?
What are all the advantages of servlet over cgi?
What are the differences between the servletconfig interface and the servletcontext interface?
Why HttpServlet class is declared abstract?
How are filters?
How can we invoke another servlet in a different application?
What is session tracking?
What is the difference between the servlets and cgi programs?
What is URL Encoding?