Posted on 2005-04-24
I'm trying to create a dynamic form using JSP, servlet, etc. When I say dynamic, for example I have 15 different forms with different questions that will display depending on which type a questions is selected on the page before the form page. What I'm trying to do is have one jsp for these 10 forms instead of creating 10 pages with different form content. I have all the questions in my database and can display one set of questions on a jsp but trying to figure out how to display the text area, text field, list/menu box next to the questions that need one of these form entries. I started out trying to use a java string buffer but haven't been successful. Can somebody give me some answers on how to construct this project? I've searched on the web for an example but no luck. If you know of a tutorial or a book that gives step by step instructions please let me know. Thank You.