Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

What are the steps involved in installing the HTML tag library in your Struts application?
To use HTML tag library in web application, You must complete the following steps:
  * Copy the TLD file packaged with this tag library struts-html.tld) to the webapps/MyAppName/WEB-INF directory.
  * Make sure that the struts.jar file is in the webapps/MyAppName/WEB-INF/lib directory.
  * Add the following <taglib> sub-element to the web.xml file of the Web application:
  <taglib>
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
  </taglib>

You must add the following taglib directive to each JSP that will leverage the HTML tag library:
  <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>