Bound to the session in a servlet order object whose value is an attribute creditCard " 999,999,999,999,999 " and then in jsp page using EL expression $ {order.creditCard} displayed in the text box , but the show turned into a "999" , solution . . .
------ Solution ---------------------------------------- ----
you debug what, at what time becomes 999 ah ? Or the page display area is relatively small, behind the other "9" to be hidden away .
------ Solution ---------------------------------------- ----
the object is of type string it ? If so , check whether the problem is not fully displayed .
------ Solution ---------------------------------------- ----
text box is not long enough to be blocked it
------ For reference only --------------------- ------------------
display area is large enough ,
bound to the session , when the value of creditCard or " 999,999,999,999,999 ," passed after jsp using EL expressions show '9 ' becomes less
------ For reference only ---------------------------------------
is of type String , the text box is also long enough
------ For reference only ------------------------- --------------
text box long enough
------ For reference only ----------------------------- ----------
text box long enough
you directly in the jsp, using <% session.getAttribute ("order")%> to order take out this way
Then system.out beaten look
------ For reference only ------------------------- --------------
text box long enough
you directly in the jsp, using <% session.getAttribute ("order")%> to order take out this way
then look to break out system.out
Maybe you value itself is not right
------ For reference only --------------------------- ------------
reason found, in a text box with an EL expression assignment useless double quotes , but do not know why only a small part , but other text box displays the text comparison short on nothing
没有评论:
发表评论