request.setAttribute("codes", codes);
|
|
get.jsp
<input type="text" name="codes" value=${codes}>
当codes的值像这样: 123 4565 abc
中间有空格的时候,在get.jsp 里input里显示的是: 123
空格后面的值不会传过来
可能是以空格来判断值是否结束了。
request.setAttribute("codes", codes);
|
|
get.jsp
<input type="text" name="codes" value=${codes}>
当codes的值像这样: 123 4565 abc
中间有空格的时候,在get.jsp 里input里显示的是: 123
空格后面的值不会传过来
可能是以空格来判断值是否结束了。