Steps :
1. fetch value from database and put them on a Object (say Employee object)
2. Using jsp tag you can set this value
<jsp:usebean ...="" xmlns:jsp="#unknown" />
<jsp:setproperty ..="" xmlns:jsp="#unknown" />
Or
2. You can use jstl to set this value(preferred way)