Java Reference
In-Depth Information
Figure 11-8.
Does Figure 11-8 surprise you? If so, then the Preview view will also be surprising! Remember the browser can
only interpret HTML and scripts. Custom tags and JSP tags are resolved by the server (i.e., the server invokes the tag
handler class). So, the only way to test a custom tag is to run the JSP on the server.
Tutorial: Testing the Custom Tag
We've built it, so we have to test it:
1.
Run EnterEmpInfoJSP on the server.
2.
In the browser session, click the refresh button.
The page should look like Figure 11-9 .
 
Search WWH ::




Custom Search