通常,驗證碼是在Servlet中生成的,直接在
& lt腳本語言= \ " JavaScript \ " & gt
函數重新加載圖像(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 \ ');\ " & gt恢復精神