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 |
hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code
Write a servlet to upload file on server.
What is the disadvantage of cookies?
What is life cycle of Servlet?
What is ServletContext() and what is its use?
9 Answers Prime Technology, TCS,
Difference between httpservlet and generic servlets?
What is cookies in servlet with example?
What are Servlets?
What are the phases of servlet life cycle?
Can we call destroy() method inside the init() method? What happens when we do so?
How can we upload the file to the server using servlet?
What do you mean by session tracking?