Hi, I'm developing an an application to conduct Online Examinations. Lots of table displays are used in every module. for example Questions, Exam, Results, etc, I have a form which saves a question to db.
My Scenario is Following I Have three types of Questions 1. Single choice 2. Mutiple Choice 3. Subjective while Inserting a Question I can Choose the number of options for that particular question. depends on the number of options the input boxes of options should be generated. After inserting options there should be a Radio Button Group which chooses the type of Answer. If it is Single Choice, A select control should be populated with the number of options given. Here we choose the correct answer for that particular question. Also there is a radio button group to choose how the options should be displayed to the candidate. If it is Multiple Choice Question , A checkbox group should be generated with the above number of options. at this time the radio button group which decides the show options as should be disabled. If it is subjective question the correct answer control should be textarea this should be generated. How this can be implemented with struts2, How to use Struts2 Tags for this purpose