If the resultSet (rs) is unavailable in the request or the
session scope it will display nothing. Also, struts cheks the
form-bean def from your config file to find out which ActionForm
to use (for the current action-mapping) and picks this out of
request / session scope (if available) to populate the form that
is being displayed in your JSP. 

Wrap the data that you wish to display from the result set into
action form to do this. Read the users guide
(http://jakarta.apache.org/struts/userGuide/index.html) on how
to do this. 

-- Prateek


--- "Sudhir S. Shetty" <[EMAIL PROTECTED]> wrote:
> Hi Evrybody,
>                    Id like to know how to add dynamic content
> retrieved via
> JSP scriplets to the HTMl tags
> I'll give you an example
> <html:text property="companyName" value="<%=rs.getString(1);%>
> When I give this tag nothing is displayed.
> Can you suggest me the syntax.
> Thanks in advance
> regards,
> Sudhir
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

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

Reply via email to