tsx:userid 및 tsx:passwd 태그 JavaServer Pages 구문(사용되지 않음)

<tsx:userid> 및 <tsx:passwd> 태그를 사용하면 <tsx:dbconnect> 태그에서 사용자 ID 및 비밀번호를 하드 코드화할 필요가 없습니다.

제거된 기능 제거된 기능: JSP(JavaServer Pages) 엔진에서 tsx 태그에 대한 지원은 WebSphere® Application Server 버전 6.0에서 더 이상 사용되지 않습니다. tsx 태그를 사용하는 대신, JSTL(JavaServer Pages Standard Tag Library)에서 동일한 태그를 사용해야 합니다. depfeat

<tsx:userid> 및 <tsx:passwd> 태그를 사용하여 사용자가 입력하는 값을 승인한 후 요청 오브젝트에 해당 데이터를 추가할 수 있습니다. 데이터베이스 연결을 요청하는 JSP(JavaServer Pages) 파일(예: JSPEmployee.jsp)로 요청 오브젝트에 액세스할 수 있습니다.

<tsx:userid> 및 <tsx:passwd> 태그는 <tsx:dbconnect> 태그 내에서 사용해야 합니다.

이 절에서는 <tsx:userid> 및 <tsx:passwd> 태그 구문에 대해 설명합니다.

<tsx:dbconnect id="connection_id"
    <font color="red"><userid></font>
    <tsx:getProperty name="request" property=request.getParameter("userid") />
    <font color="red"></userid></font>
    <font color="red"><passwd></font>
    <tsx:getProperty name="request" property=request.getParameter("passwd") />
    <font color="red"></passwd></font>
    url="protocol:database_name:database_table"
    driver="JDBC_driver_name"> 
</tsx:dbconnect >

여기서,


주제 유형을 표시하는 아이콘 참조 주제



시간소인 아이콘 마지막 업데이트 날짜: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rweb_jpass
파일 이름:rweb_jpass.html