1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Problem in Jsp Text BOx

Discussion in 'C#' started by makemoneyfromgoogle, Mar 8, 2010.

  1. #1
    Hi All,

    I need your help regarding following problem.Im working in MVC model application which has jsp, servlet,and bean file.
    By the flow of application , I have to display datas in jsp page which stored in a DB. And also I can display those datas in a table by using <td><%= rs.getString(1)%> statement.This jsp has text boxes. So I want to display those db values in a textbox. I tried using the line <input type="text" value="<%=rs.getString(2)%>" name="n1" >
    but it shows "[Microsoft][ODBC Driver Manager] Invalid cursor state " . I don Know whether this is a correct way to get the value in a text box or is there any other alternative way..

    Please Help me as soon as possible..​
    mohamed elgharibSEMrush
     
    makemoneyfromgoogle, Mar 8, 2010 IP
    SEMrush