October 2002
Beginner
816 pages
23h 32m
English
Yesterday you learned about the support provided by Java to embed special tags in an HTML file that allowed you to include Java code in the HTML file. This hybrid HTML file, called a JavaServer Page, was then parsed and compiled by the JSP engine in the WebLogic Server to generate a servlet.
The special tags that you could add are defined in the JSP specification. Suppose you wanted to add your own tags. Would you be able to do so? For example, to display the name of the logged-in user, typically you would use the expression tag <%=myName%> to retrieve the name from a Java variable. It would be much more intuitive to a developer to use your own tag called <name/>. The second tag is easier to understand (because ...
Read now
Unlock full access