views:

29

answers:

1

I want to populate a field from a session bean.

I attempted this:

`<html:text
    property="docId"
    value="<bean:write name="queryResponseBean" property="queryResults" />" />`

but to no avail.

thanks.

A: 

Try Using

<html:text 
    property="docId" 
    value="<bean:write name='${queryResponseBean}' property='queryResults' />" />
it doesn't like this either.Instead of throwing a ServletException, it places "<bean:write... />" in the text field.
komidore64