Employee no | Select a name | Job | Manager | Date of hire | Salary | Commission | Dept no | <% while (ds.next()) { String ename = "" + ds.getString("ename") + ""; %>
---|---|---|---|---|---|---|---|
<%= ds.getString("empno") != null ? ds.getString("empno") : " " %> | <%= ename %> | <%= ds.getString("job") != null ? ds.getString("job") : " " %> | <%= ds.getString("mgr") != null ? ds.getString("mgr") : " " %> | <%= ds.getString("hiredate") != null ? ds.getString("hiredate") : " " %> | <%= ds.getString("sal") != null ? ds.getString("sal") : " " %> | <%= ds.getString("comm") != null ? ds.getString("comm") : " " %> | <%= ds.getString("deptno") != null ? ds.getString("deptno") : " " %> |
Results of your interactive query:
You chose person: <%= person %> <% } } else { out.print("Sorry. Database is not available."); } } catch (Exception e) { out.print("Exception: " + e); } %>
Copyright (c) 1999 by BEA Systems, Inc. All Rights Reserved.