title: How to mask a value in java?
body: <p>I have a pinNumber value. How to mask it (ie) say if my pinNumber is 1234 and mask it with four asteriks symbol instead of showing the numbers. This masked value will be shown in a webpage using a jsp.</p>