Eclipse:
Version: 3.2.0
Build id: M20060629-1905
MyEeclipse 5.0-
OS: Windows XP SP2
System Setup
– Message Body ——————————-
The tld’s and the struts.jar supplied with the do not match the inserted (xdoclet?) taglib references inserted into the JSP by the wizard. The taglib references is shown below:
<%@ taglib uri=”http://struts.apache.org/tags-bean” prefix=”bean” %>
<%@ taglib uri=”http://struts.apache.org/tags-html” prefix=”html” %>
<%@ taglib uri=”http://struts.apache.org/tags-logic” prefix=”logic” %>
<%@ taglib uri=”http://struts.apache.org/tags-tiles” prefix=”tiles” %>
However, if we look at the tld we find:
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>html</shortname>
<uri>http://jakarta.apache.org/struts/tags-html</uri>
Note the mis-match of the URI. Similarly, if we crack open the struts.jar in the lib directory we
find:
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>html</shortname>
<uri>http://jakarta.apache.org/struts/tags-html</uri>
It is the same as above. As a result there is a jasper error on deployment.
In addition, the JSP specs calls for the tld files to be placed in the META-INF directory as they are in the struts.jar.
Am I missing something? Apart from the hand recoding is there a fix?
Regards,
Bob Nicholls
MIT Lincoln Laboratory