2011-09-10 2 views
0
<form action="" method="get" enctype="application/x-www-form-urlencoded"> 

     <h3>Current Users</h3> 
     <c:if test="${!empty userList}"> 
     <table class="data" id="results" border="1" > 
     <tr> 
      <th>Name</th> 
      <th>Email</th> 
      <th>Last Seen</th> 

     </tr> 
     <c:forEach items="${userList}" var="user"> 
     <tr onmouseover="ChangeColor(this, true);" 
       onmouseout="ChangeColor(this, false);" 
       onclick="DoNav('${pageContext.request.contextPath}/secure/detailUserView');"> 
      <td>${user.name}</td> 
      <td>${user.email}</td> 
      <td>${user.create_date}</td> 
     </tr> > 
     </c:forEach> 
     </table> 
     </c:if> 
     <div id="pageNavPosition"></div> 

     </form> 

이제 원하는 특정 행을 클릭하면 사용자 정보를 새 JSP 페이지로 보냅니다. 어떻게하면 좋을까요사용자가 행을 클릭하면 새 JSP 페이지로 데이터를 보냅니다.

Romi.

답변

관련 문제