リクエストパラメーターがトリガーされたときにJSPページの更新を防ぐ方法について、誰か助けてください。以下は私のコード行です:
String action = request.getParameter("cmd");
if (action == null) {
System.out.println("You are here2");
action = "";
}
else if(action.equalsIgnoreCase("examSelected")){
System.out.println("The Exam ID of the Long value is " + ExamId);
ArrayList<Subject> subjectName = new ArrayList<Subject>();
アクションが ExamSelected にあるときに、JSP ページが更新されないようにしたい。返信ありがとうございます。