hello!!
my question is this
i'm doing a project in jsp - oracle using the webserver
tomcat.. ok
now the module i'm developing is salary details of the employees
for that in the page there is one combo box and three text boxes
combo box referes to employee id
text box1 refers to employee name
text box2 refers to employee details
text box3 refers to salary
in the combo box i've connected it to the database oracle
so when the page is loading it will shows all the 100 employee id
when we select any one from the combobox the details corresponding to the employee number should display in the text boxes
for egs:
if i select the employee number : 45
name = Aravind Prasad
details = Project student
salary = 5000
like wise
for getting the values in the combo box i use the
jdbc connection
the query is like this
select * from table1;
while (rs.next())
{
String name = rs.getString(1);
%>
<option><%=namme%></option>
<%
}
but for onChange() function in combo box i've to use java scripts
so again in inside the function
do i want to write the whole jdbc code..
please help me ranchers
