Joke Collection Website - Public benefit messages - JSP verification code refresh problem

JSP verification code refresh problem

Do it in JavaScript

Usually, the verification code is generated in the Servlet, directly in the

& lt scripting language = \ "JavaScript \">

Function to reload the image (url)

{

document . formname . img 1 . src = URL;

}

& lt/script & gt;

& ltimg name = \ " img 1 \ " src = \ " http://XXX \ " & gt; & lta href = \ " JavaScript:reload image(\ ' http://XXX \ '); \ "> Rejuvenate.