si, basta che inserisci nel codice la funzione javascript, del tipo:
response.write("<script language=javascript>")...ecc..