This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
hai.. suppose u are having a form field username ..then use the setProperty to set a variable username suing JSP. now u can use that JSP variable in the SQL-Query as.. "select * from emp where ename ='"+usename+"'" now emp is the table name and ename is the attribute..hope this would help u --sumana