• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do I make this readonly?

 
abhiavi kumar
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Basically this is a page, where I can modify product details and update them into the database.

Here is my code, I am not familiar with Hashtable , but I know that it is retreiving data from my database and displays them like a text box on page based on the corresponding ID. I got one issue with this, I wish to make "h.get(MANU_ID)", readOnly, so that it can't be edited.

I've searched the internet, but I couldn't find any help in how I could go about doing this.

At the moment, if any error occurs during, I have no exception handling, if someone could put a try and catch block in the right places in this code, I'd be happy.
 
T Mishra
Ranch Hand
Posts: 108
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wish to make "h.get(MANU_ID)", readOnly, so that it can't be edited.

HTML table is read-only by default. Are you missing any information here ? In the mean time, check this out.

About exception handling, think what you'd like to do in case of exception. Do you want to display a different page or an empty table or an error page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic