> Hi, 
> 
> I'm new to Struts and have searched without luck on this one:
> 
> I have an <html:text ...> that I'm simply trying to put a runtime
> expression into, like
> 
> <%
> String rtexpr = "bob";
> %>
> <html:text property="searchType" value="<%=rtexpr %>">
> 
> And instead of interprestting the rtexprvalue "bob", it actually displays
> the string "<%=rtexpr %>" as the value on the screen.  If I just type a
> string into the value field, like this:
> 
> <html:text property="searchType" value="please">
> 
> it works just fine.
> 
> I looked into struts-html.tld and the value parameter of the text tag is
> set up to accept runtime expression values, so I don't know what's going
> wrong.  The really strange and frustrating part is that if I try the line
> I really need to use:
> 
> <html:text property="searchType"
> value="<%=request.getAttribute("searchType") %>">
> 
> The page breaks on this error:
> 
> Attribute searchType has no value
> 
> Totally frustrated:[  I have no idea what I'm doing wrong.  Can anyone
> help?  Thanks!,
> 
> Jim
> [EMAIL PROTECTED]
> 
> 


This e-mail transmission contains information that is confidential and may be 
privileged.   It is intended only for the addressee(s) named above. If you receive 
this e-mail in error, please do not read, copy or disseminate it in any manner. If you 
are not the intended recipient, any disclosure, copying, distribution or use of the 
contents of this information is prohibited. Please reply to the message immediately by 
informing the sender that the message was misdirected. After replying, please erase it 
from your computer system. Your assistance in correcting this error is appreciated.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to