I am using Business Components for Java Tags to generate JSP Pages. Jsp Page contain one field which set the value of price. How I can restrict user to insert only upto 2 decimal value like '25.45'.
If user try to insert value like '25.45555' I can round the value before inserting in the database.
But How I can put condition on the screen field.
Thanks
If user try to insert value like '25.45555' I can round the value before inserting in the database.
But How I can put condition on the screen field.
Thanks