Web Development
3 replies
by davram
Hi, sandeep.
The difference between custom tags and beans is one of a conceptual level, rather than a technical one.
The business logic, i.e. the beans, are handled, within the JSP page, by the scriplets. Any change made, later, in the beans, might imply changes in the scriplets, so the modification of the JSP page.
The custom tags, on the other hand, are a language extension that replaces the use of scriplets, the JSP page dimensions could get, this way, smaller.
These are two alternative ways for generating dynamic content, but there is nothing that can be done with one and cannot be done with the other. The choice is made by the developer.
For more informations, you probably know where to look, but I remind some URLs, anyway:
http://developer.java.sun.com/developer/technicalArticles/Programming/jsp/index.html
and
Hope that helps,
Dan.
by sandeep_17db
by sandeep_17db
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending