Sachin,
Try using single quotes ('') instead of double quotes (" "). I have the
following working for me:
<td>
<form:text property="roleName" value='<%= userObj.getUserName() %>'
size="15" maxlength="15"/>
</td>
-Deep.
> yes I imported the file..i also tried the single
> quotes but it doesn't seem to work..
> --- Martin Cooper <[EMAIL PROTECTED]>
> wrote:
> > Did you import the FormConstants class at the top of
> > your JSP?
> >
> > --
> > Martin Cooper
> >
> > ----- Original Message -----
> > From: "Sachin Tendulkar" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, March 08, 2001 11:04 AM
> > Subject: text tag
> >
> >
> > > Hi,
> > > I am trying to use the html:text tag like this:
> > > <html:text property="<%=
> > FormConstants.LOGON_USERNAME
> > > %>" size="16" maxlength="16"/>
> > >
> > > when i execute the jsp i get the following error :
> > > javax.servlet.ServletException: runtime failure
> > in
> > > custom tag 'form'
> > >
> > > but if for the property attribute I use a static
> > > value,
> > > I don't get the error(like property="username"). I
> > > have checked the tag library descriptor and the
> > 'text'
> > > tag supports runtime expressions for attributes.
> > > Also i didn't understand why I am getting the
> > error in
> > > the 'form' tag
> > >
> > > Thanks
> > > Sachin
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Get email at your own domain with Yahoo! Mail.
> > > http://personal.mail.yahoo.com/
> >
> >
>
>