title: JSP tag attribute cannot be set more than once?
body: <p>I have some old JSP files with tags such as </p>
  
  <p><code>&lt;mytag:editbox name="SEL_1" param="onclick='clickit();" param="size='4'" /&gt;.</code></p>
  
  <p>These JSP runs very well in Websphere 5.0. When I move it into Websphere 8.0, something is wrong. The java source compiled by JSP like this:</p>
  
  <pre><code>editbox.setName("SEL_1");
  editbox.setParam("size='4'");  //replaced by the last one
  editbox.setParam("size='4'");
  </code></pre>
  
  <p>The last [attributes] overwrites those before it. I also test the JSP in Websphere 6.0 and Tomcat. WAS6 is same as 8.0, and Tomcat says:</p>
  
  <pre><code>org.apache.jasper.JasperException: /index.jsp (line: 17, column: 20) Attribute qualified names must be unique within an element
  </code></pre>
  
  <p>The attribute of tag can't be set more than once.</p>
  
  <p>Is this the requirement of JSP 2.0+ specification? (I think the JSP container in WAS5.0 is JSP 1.2 .)</p>
  
  <p>I can merge the two param attribute into one to correct the problem, but how to get the correct result without changing the JSP source?</p>