File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Non-Editable Region