jsp: <c:set var="index" value="${t.index}" scope="request"/> jsp-java: request.getAttribute("index") 其中scope必须写