JSP只在第一次加载时调用动作实现代码。 复制代码代码如下所示: < 列表(list)request.getattribute(列表); 如果(list = NULL){ response.sendredirect(课。domethod =多); } %> 班。是行动的名称。