The short answer is read the java documentation better...
you don't do a new Form(). That won't work for reasons related to Java and passing
variables.
In your struts-config.xml you should set the name, and probably validation=false.
Then something like:
MyForm myForm = (MyForm) form
From: KEBE Cheikh Silÿffe8ye [EMAIL PROTECTED]
In my editProspectAction.java, i do
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
^
Populate the 'form' that is passed into the method, don't create a new one:
form=new ProspectForm();
What is your action mapping for majprospect action?
Since your form is going to be submitted to majprospect.do (you need
to add .do in there) your action mapping should basically have a
name=prospectForm in it.
Also, to make sure your form is being named correctly:
3 matches
Mail list logo