At 10:54 PM +0800 8/25/04, PC Leung wrote:
my setup DispatchAction does not show a token when the form first displays.
When I click submit button to create record, it shows error messages
of handler. What does needs to be done?

What are the error messages?

AddUserProfile.jsp constructs:

  <html:form action="/addUserProfile?method=create" focus="firstName">
  <html:hidden property="action"/>
  <html:submit><bean:message
key="addUserProfileForm.submit"/></html:submit>

here you should probably pass "method=create" as a hidden form field; I don't think the html form tag will handle an action specified like that correctly.


Joe

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn back; I'll know I'm in the wrong place."
- Carlos Santana

Reply via email to