I'm creating an app, that displayes a String from a database. This String is then displayed in a textbox that cannot be edited.
I now require that varible (String passed) in the text box to be compared with a column in a SQL database table which is an identical String. Once the matching String is found I need to update other columns based on the queries.
when i use request.getParameters() method it is giving output as null.
Rakesh Keerthi wrote:I'm creating an app, that displayes a String from a database. This String is then displayed in a textbox that cannot be edited.
Please be precise when posting. Does this mean that you made the control disabled or readonly? They are not the same and which you used may be the answer to your question. Just saying "cannot be edited" doesn't give us the information we need to answer your question.
But I'm guessing that you used disabled, which means that the value will not be submitted.
i need it to be done purely in jsp
I sincerely hope that this does not mean that you are putting Java code in your JSPs!