You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kapil Sharma <ka...@iap-online.com> on 2007/05/08 12:20:42 UTC
Need help about the technology to apply with struts
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Need help about the technology to apply with struts
Posted by Tomas Kramar <kr...@gmail.com>.
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:kramar.tomas@gmail.com]
> 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: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Need help about the technology to apply with struts
Posted by Kapil Sharma <ka...@iap-online.com>.
>>
>>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:kramar.tomas@gmail.com]
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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
Tomas Kramar
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Need help about the technology to apply with struts
Posted by Tomas Kramar <kr...@gmail.com>.
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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
Tomas Kramar
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org