Configuring Style Intelligence for JSP Tags
To start using the Style Intelligence JSP tags, you have to place bisuite_pro.jar and etools.jar in the WEB-INF/lib directory of your web application. Then you will need to include the tag library definition in your web application descriptor, web.xml, which is located in the WEB-INF directory of your web application. Simply add the following XML content to the file:
<taglib>
<taglib-uri>sree.tld</taglib-uri>
<taglib-location>/WEB-INF/lib/bisuite_pro.jar
</taglib-location>
</taglib>
If your registry directory is a directory other than the WEB-INF/classes directory, you will need to include an initialization parameter as well:
<context-param>
<param-name>sree.home</param-name>
<param-value>/path/to/your/registry/directory</param-value>
</context-param>
The value of this parameter is the same as the one you would use to set up the Servlet Repository. In certain application servers, it is impossible to serve binary data through a JSP. The resources will fail to load and an exception will appear. To avoid this, a servlet, inetsoft.sree.web.jsp.ResourceServlet, is provided to serve binary resources. If you encounter this problem, register the servlet and specify the servlet's URI in the resourceUri attribute of the sree:create tag.
No additional configuration is needed in your web application. You are now ready to start writing JSP pages.