Please check if the web.xml is written correctly. Just try to open the xml files in explorer. They should open fine.
Secondly, there may be mapping error: For eg in web.xml, the mappings of the tlds with exact locations is done.The eact locations may be mismatching with those specified here. <taglib> <taglib-uri>/tags/struts-bean</taglib-uri> <taglib-location>/WEB-INF/tlds/struts-bean.tld</taglib-location> </taglib>
and the JSP has the following: <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
Here(in web.xml) the path may be wrong which might be a reason that both these files (web.xml and the tld) are having problem. Also say if the other tlds are being found by the server or not.
Hi, I tried my application with your web.xml mappings and in the index too. It works for me. I downloaded the code you are running and i see that the chapter2 code that you are running doesnt have tlds in the WEB-INF or WEB-INF/tlds/ directory for that matter. It gives me an error that you are getting. Obvoiusly the tlds were not present thus the error. You might extract a blank struts.war application and write the application code and check. I see no other reason for the error save the tld not actually being present here. Maybe someone else might throw some light here.