Discussion Locked

JSP

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
what is the advantage in going to Custom Tag library in JSP1.1. Cant this be achieved using a java bean. Is there any site in which we can find a good example?

1 reply

by penguinone!

Using custom tags allow you to have web developers who know nothing about Java design and build your pages. The custom tags can reference a whole bunch of Java code, but the developer of the actual page doesn't know or care about this. And you canuse custom tags in decent web building tools like Allaire Homesite.

For example, which do you think a HTML savvy (but not java savvy) web developer would understand better (forgive syntax)?

a) <% someJavaCode(); %>
b)

For an example, take a look at the Struts package from the Jakarta Project (jakarta.apache.org) that provides a Model-View-Controller architecture on Servlets/JSP.

This discussion is closed to new replies.