Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification.
The following page has been changed by HenriYandell: http://wiki.apache.org/struts/StrutsUpgradeNotes12to13 The comment on the change is: Added a note on an error when moving from 1.2.x to 1.3.x and how to solve it. ------------------------------------------------------------------------------ ||html:img||contextRelative||Use module instead.|| ||html:img||lowsrc||Non-standard attribute; No longer supported.|| + === 5.6 Tag upgrading === + + If you have specified a ''styleId'' for the html:form tag, you will see the following error: + + {{{ + javax.servlet.jsp.JspException: Cannot specify "styleId" when in XHTML mode as the HTML "id" attribute is already used to store the bean name + at org.apache.struts.taglib.html.FormTag.renderName(FormTag.java:570) + + }}} + + The solution is to remove the ''styleId'' and use the name of your form bean, as that will be inserted as the ''id'' in your HTML. + == 6. Deployment == * If you experience !NoClassDefFoundErrors in JSP code after deploying a Struts 1.3 webapp using the same context name it had under a prior version, try deleting the generated .java and .class files related to the JSP files. In Tomcat, these are found under the $TOMCAT_HOME/work directory.