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
Describe some assignments that are executed by servlet container?
Which application server is best for java?
Why filter is used in servlet?
What is called Scriptlet?
How can we include static files in the jsp page?
What is the difference between Server and Container?
What is a servlet?
Define context initialization parameters.
What are the ways to handle multi-threading in servlets?
How can we invoke another servlet in a different application?
What is servlet lazy loading?
Can we refresh servlet in client and server side automatically?
Write a simple servlet program to print the contents of html.
What are the benefits of using servlet over cgi?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?