|
Global pages taglib ver. 1.3 Custom JSP taglib. This taglib lets you use something similar to global-forwards in Struts.
The main idea is very simple. Instead of using the hard coded strings for pages in jsp:forward and jsp:include tags you can use the
similar tags from this taglib where the page will be defined as a global (context) parameter for your web application.
For example, in your web.xml file you can define a context parameter error:
<context-param>
<param-name>error</param-name>
<param-value>/myerrorpage.jsp</param-value>
</context-param>
Try It Out: http://www.servletsuite.com/servlets/globtag.htm
|