>>105
「・」を出力して out.flush() しながら n 回ループ。もうちょっと凝る
なら JavaScript のコード吐きながら n 回ループ。

out.write("処理中です: ");
for(int i=0; i<n; i++){
  out.write("・");
  out.flush();
  /* 重い処理 */
}
out.write("<BR>処理完了");