I am going out of my tiny mind here...

 

I have in my JSP

 

<form action="/organisation/student/course/questions.do?dispatch=answer"
method="post">

<input type="radio" name="answer(1)" value="1" />

<input type="radio" name="answer(1)" value="2" />

</form>

 

In my struts config I have

 

<action path="/organisation/student/course/questions"
type="com.cibus.courses.actions.CourseAction" name="questionsForm"
scope="request" parameter="dispatch">

<forward name="questionResults" path="/templates/course/questionResults.jsp"
redirect="true" />

</action>

                        

And in my Form class I have the following setter

 

public void setAnswer(String questionKey, Object answerKey) {

            questionAnswers.put(questionKey, answerKey);

}

 

My problem is that the method is never called! Any suggestions please?

Reply via email to