how to make a textfield in html form readonly in servlet

Reply

Join Date: Oct 2007
Posts: 19
Reputation: mrityunjay22 is an unknown quantity at this point 
Solved Threads: 0
mrityunjay22 mrityunjay22 is offline Offline
Newbie Poster

how to make a textfield in html form readonly in servlet

 
0
  #1
Oct 19th, 2007
i want to make a text field readonly in html form written in my servlet
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,358
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 252
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: how to make a textfield in html form readonly in servlet

 
0
  #2
Oct 19th, 2007
Then don't make a textfield. Simply place the value on the page, and if a value for that field still needs to returned by the form, add a hidden value with the name that textfield normally would have had.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC