Hi nian, welcome to the Ranch!
If your verification
JSP (might I recommend using
servlets for processing rather than JSPs?) forwards the request back to the login page after it determines that the login fails, the request parameters are still available to the request.
It should be an easy task to code the login page such that it could detect this condition, and to use the
value attributes on the form controls to set their initial values from the submitted request parameters.
hth,
bear