title: Passing JS object through JSP custom tag attribute
body: <p>I'm trying to implement a custom JSP tag that is going to generate the below template.</p>
  <pre><code>&lt;customTag attributeOne=&quot;&quot; attributeTwo=&quot;&quot; /&gt;
  
  &lt;div...&gt;
   &lt;label...&gt;...&lt;/label&gt;
   &lt;input... /&gt;
   &lt;input... /&gt;
  &lt;/div&gt;
  </code></pre>
  <p>This element requires to have at least 10 attributes passed to it in the worst case. Trying to create one element from the custom tag, I realized that the number of arguments was too much.</p>
  <p>Since the arguments for the two inputs are similar, I thought to create a class for modeling them. But I didn't like that either.</p>
  <p>Then my idea was to pass a JS object as the argument and get the properties in the tag file but from my research, I did not find a way to do that.</p>
  <p>Is there a solution to this problem or am I hopeless :'(?</p>
  <p>Thanks in advance!</p>