Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to set a struts html text field to readonly status

843835Jul 4 2002 — edited Jul 9 2002
Hi all,

Can anyone enlighten me to how to set a struts html text field to readonly?

I have tried the following solution:
<html:text name="loginForm" property="email" readonly />
but i always get the following error:

------->
org.apache.jasper.compiler.ParseException: /registration.jsp(66,61) Attribute readonly has no value
-------->

Can anyone please enlighten me on how to do this.

Many thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 6 2002
Added on Jul 4 2002
4 comments
544 views