This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes How to display fields retrieved from a database in Editable mode? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "How to display fields retrieved from a database in Editable mode?" Watch "How to display fields retrieved from a database in Editable mode?" New topic
Author

How to display fields retrieved from a database in Editable mode?

Vineet Sharma
Ranch Hand

Joined: Dec 30, 2000
Posts: 51
I have a servlet that uses JDBC to connect to Access and reads a table. I need to display the data retrieved from the table on an HTML screen in editable mode. In othe words, the user should be able to change the data that I display on the screen, eg., updating user profile.
I am doing the following but it's not working:
htmlString +="<TD>" + dbRS.getString(1) = "</TD>";
I would appreciate any feedback.
Thanks,
Vineet
Sandeep Agarwal
Greenhorn

Joined: Jan 23, 2001
Posts: 2
U wil have to put the values in a text field
htmlString +="<form>+
htmlString +="<TD><input type=text name=myFiled value=" + dbRS.getString(1) + "></TD>"+
htmlString +="</form>";
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to display fields retrieved from a database in Editable mode?
 
Similar Threads
How to display fields retrieved from a database in Editable mode?
How to display fields retrieved from a database in Editable mode?
How to display fields retrieved from a database in Editable mode?
jsp
jsp:include behaving improper in workshop application.