I have a jsp page being called by an action that passes a user type in the
request.
the jsp has the following code:

        <tr>
                <td><bean:message key="prompt.username" />: </td>
                <td><html:text property="username" size="50" maxlength="50" /></td>
        </tr>
        <tr>
                <td><bean:message key="prompt.firstname" />: </td>
                <td><html:text property="firstName" size="50" maxlength="50" /></td>
        </tr>
        <tr>
                <td><bean:message key="prompt.lastname" />: </td>
                <td><html:text property="lastName" size="50" maxlength="50" /></td>
        </tr>
        <tr>
                <td><bean:message key="prompt.address1" />: </td>
                <td><html:text property="address1" size="50" maxlength="50" /></td>
        </tr>

My problem is that the only value displaing on the browser is the username.
When I write the following scriptlet:
        <% out.println( ((User) request.getAttribute("user")).getFirstName)); %>
the first name displays.

Any help will be greatly appreciated

Diego.


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

Reply via email to