PC Leung wrote:
Do you mean my approach is wrong? Originally UserMaint.jsp contains links only. Do I need to transform it as a form?
As Bill asked earlier, what does you struts-config file look like. My guess is you are not getting to your action class because you haven't set up a mapping for it. Look at the sample apps and examples that show how to set up your mappings in your struts-config.
For example you might want something like...
<action path="/userProfileAction"
type="package.path.UserProfileAction"
name="userProfileForm"
scope="request"
validate="false"
parameter="method"
>
<forward name="to_form" path="/WEB-INF/jsp/form.jsp"/>
<forward name="success" path="/WEB-INF/jsp/foobar.jsp"/>
</action>Your link then would be...
<html:link page="/userProfileAction?method=setup">
<bean:message key="userMaint.addUserProfile"/>
</html:link>
-- Rick
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

