Web| Error | resolution
Error message:
The following error often occurs when configuring struts applications under WEBLOIGC, but it is not a problem under other Web servers:
Parsing of JSP File '/index.jsp ' failed:
------------------------------------------------ -
/index.jsp (3): Error in using tag library uri= '/web-inf/struts-html.tld ' prefix= ' html ': the Tag class ' Org.apache.struts. Taglib.html.FormTag ' has no setter method corresponding to TLD declared attribute ' name ', (JSP 1.1 spec, 5.4.1)
Probably occurred due to a error in/index.jsp line 3:
<%@ taglib uri= "/web-inf/struts-html.tld" prefix= "html"%>
reason :
This is because WebLogic is very strict with tag.
Workaround:
Open Struts.jar can be seen with org and meta-inf two directories, in the Meta-inf directory is the authentication of the TLD file, in fact, we simply delete the Meta-inf directory. You can download the source code for struts, and then regenerate the new Jar file, containing only Java class files, and do not include TLD files