I have the user filling in a HTML text box in my
JSP a serial number
string like 1234.
The length of the field is zero filled in my database so I need to put a 0 in front like 01234. Is this possible?
I am building a SQL statement with the user selects like this:
sysserno = request.getParameter("sysserno");
sqlValue=sysserno;
sqlName="SYSNO";
sqlCondition=sysserCondition;
buildSQL();
what can I do to sysserno to make sure it's 5 characters zero filled?