This is not a matter of technology, but a matter of design. I think your users would like to see all previous questions, so I would use ajax. And by the way, by using ajax you are not moving the logic to page, it still remains on server. Maybe you should have a look at how ajax works first and then decide.
-- Tomas Kramar Kapil Sharma wrote: >>> If you want to leave old questions displayed on page and always add a >>> new one at bottom, than you should use ajax to determine and send new >>> question. Otherwise you end up with a mess of javascript code. > > > I have not used AJAX before. > > Applications system admin module specifies all the dependies of questions and > answers. > > So my Query is that Should i bring all the logic from database into my ajax > page and then make Questions n Answers hide, unhide. > > Or there is any tool through which u people make these kind of pages > > Any help is appreciated > > > Thanks and Regards, > Kapil Sharma > > > > -----Original Message----- > From: Tomas Kramar [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 08, 2007 7:30 PM > To: Struts Users Mailing List > Subject: Re: Need help about the technology to apply with struts > > > If you want to leave old questions displayed on page and always add a > new one at bottom, than you should use ajax to determine and send new > question. Otherwise you end up with a mess of javascript code. > > If you are planning to load new page for each question than it is > basically the same - ajax just shaves off page refreshing. > > Kapil Sharma wrote: >> I want to develop a web application that consists of different questions and >> answers submitted by the users. >> >> The questions are dependent on the answers of other questions. >> >> What should i use with struts. is it Ajax. >> >> i.e if A question has two radiobutton answers >> and on click of one radio button the one set of hidden questions will come >> out and on click of other the another set. >> >> I would like to know the technology i should use. >> >> Plz give me the best tech to apply >> >> >> >> Thanks and Regards, >> Kapil Sharma >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]