Question: I am stuck with issue of setting 'Maxlength' to Spring 'Form:Input' tag. It is not reflecting in HTML

Spring Code:

```
<form:input path="admin[${loop.index}].firstName" id="firstName${loop.index}" cssClass="required"  maxlength="64" />

```

Output in Browser:

```
<input name="admin[0].firstName" type="text" class="required" aria-required="true" aria-invalid="false">

```

Is there any way to set the same (if not prefer CSS or JQuery)?

Answer: 
Converting comment to answer

> 
> Spring `<form input>` tag supports `maxlength` here is the [document](http://docs.spring.io/spring/docs/current/spring-framework-reference/html/spring-form-tld.html#spring-form.tld.input): 
> 
> 
> 

Spring tag library supports almost all the jsp attributes with some extra feature to binding which helps us in mapping the values or in validation.

Spring will not manipulate anything which is provided in jsp. It just shows in browser, but before that if any `jQuery` code or `javascript` code is manipulated the tag then it will show the manipulated tag instead of actual.

In your case it may be `jQuery`.
I think your web.xml file is for JSP 2.0. If you are having problems accessing EL on specific pages try adding the following to the top of the individual JSP page:

```
<%@ page isELIgnored="false" %>

```

if you are using JSP 2.0 I think that EL is ignored by default so you can can add the following to your web.xml to enable it for all pages:

```
<jsp-config>
  <jsp-property-group>
    <url-pattern>*.jsp</url-pattern>
    <el-enabled>true</el-enabled>
    <scripting-enabled>true</scripting-enabled>
  </jsp-property-group>
</jsp-config>

```