This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes Non-Editable Region Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Non-Editable Region" Watch "Non-Editable Region" New topic
Author

Non-Editable Region

Sanjay pts
Ranch Hand

Joined: Nov 07, 2000
Posts: 357
hi,
I am want to write a servlet/jsp which on selecting the view option shows a non-editable (view only) html form. is there anything in javascript, html or java through which i can make all the fields on the form non-editable.
bye,
Thanx
Sanjay pts

Eat JAVA, Drink JAVA, Sleep Java
Ramneek Handa
Ranch Hand

Joined: Nov 10, 2000
Posts: 44
You can use readonly=true for making form uneditable.
<input type='text' maxlength='30' name='name' size='20' value='Adam' readonly=true >"
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Non-Editable Region
 
It's not a secret anymore!