What is the purpose of creating custom tags?



What is the purpose of creating custom tags?..

Answer / Rohitash Kumar

The purpose of creating custom tags is to encapsulate complex functionality, promote code reuse and maintainability, and improve readability of JSP pages.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

A jsp page, include.jsp, has a instance variable "int a", now this page is statically included in another jsp page, index.jsp, which has a instance variable "int a" declared. What happens when the index.jsp page is requested by the client?

1 Answers  


What are implicit objects in jsp?

1 Answers  


What are the different types of jsp tags?

1 Answers  


Can we use javascript with jsp pages?

1 Answers  


how can i add properties in dynamic text fields using .js file?

1 Answers  


What are the directives in jsp?

1 Answers  


What is the difference between Java Servlet & JSP?

1 Answers  


What is jstl core tags?

1 Answers  


Can constructor be used instead of init(), to initialize servlet?

1 Answers  


How do I set password expire time period?

1 Answers  


How to run java program in jsp page?

1 Answers  


What are different types of comments in jsp?

1 Answers  


Categories