2014-04-18 2 views
0

저는 struts에 익숙하지 않아이 문제를 해결할 수 없습니다.Bean을 전달하십시오 : Jsp에서 Action 클래스로 값을 작성하십시오.

candyViewJobs.jsp 페이지 내 액션 클래스를 호출 모든 언급 한 작업에 고유 한 jcode에 접근 할 필요가

<form method="post" name="form"> 
       <table id='tableViewJobs'> 
        <tr> 
         <th width="14%">Job Code</th> 
         <th width="14%">Job Name</th> 
         <th width="14%">Qualification Required</th> 
         <th width="16%">Skills</th> 
         <th width="14%">Experience Required</th> 
         <th width="14%">Vacancies</th> 
        </tr> 
        <logic:iterate name="view" id="jobs"> 
        <tr> 
         <td><bean:write name="jobs" property="jcode"/></td> 
         <td><bean:write name="jobs" property="jname"/></td> 
         <td><bean:write name="jobs" property="qualify"/></td> 
         <td><bean:write name="jobs" property="skills"/></td> 
         <td><bean:write name="jobs" property="xp"/></td> 
         <td><bean:write name="jobs" property="vac"/></td> 
         <td><input type="button" value="Apply"/></td> 
         <td><input type="button" value="View More Details" onclick="location.href='viewDetails.do'"/></td> 
        </tr>       
        </logic:iterate> 
       </table>  
      </form> 

아래 같은 테이블에 표시 배열 목록이 있습니다. 어떻게해야합니까?

답변

0

<h:param value="jCode">을 사용하면 jCode를 전달할 수 있습니다.

관련 문제