struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pratt <thechrispr...@gmail.com>
Subject Re: Unable to add value in <html:file>
Date Fri, 20 May 2011 16:18:11 GMT
It seems to me that the problem is that you can't nest JSP tags (the
<bean:write) within JSP tags (the <html:file), if the container supports EL
then my solution should work around that problem.
  (*Chris*)

On Fri, May 20, 2011 at 4:34 AM, Dave Newton <davelnewton@gmail.com> wrote:

> Why would the container matter? Isn't this a browser issue?
>
> Dave
>  On May 20, 2011 12:31 AM, "Chris Pratt" <thechrispratt@gmail.com> wrote:
> > Depending on what container you're using, you might try:
> >
> > <html:file name="Form" tabindex="11" property="attachment"
> > styleId="frmTxtAttachment" style="width:300px"
> > value="${parecRequestForm.attachPath}" />
> >
> > (*Chris*)
> >
> > On Thu, May 19, 2011 at 9:04 AM, vivek mishra <mishravivek85@gmail.com
> >wrote:
> >
> >> Hi list,
> >>
> >> I am trying to add some value in <html:file> but unable to do this.
> >>
> >> Here is my code:
> >> <html:file name=*"Form"* tabindex=*"11"* property=*"attachment"*
> styleId=*
> >> "frmTxtAttachment"* style=*"width:300px"*
> >>
> >> ** value=*"<bean:write name='parecRequestForm' property='attachPath'
> />"*
> >> ></html:file>
> >>
> >> I am getting value in *<bean:write name='parecRequestForm'
> >> property='attachPath' /> , but it's not getting set in*
> >>
> >> *as as value of <html:file>.*
> >>
> >> *Any help will be much appreciated !!*
> >>
> >> *Thanks and Regards,*
> >>
> >> *-- Vivek Mishra*
> >>
> >> * *
> >>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message