Re: struts action related query

2010-04-21 Thread aum strut
i am also agree with Dale
you have two option either to develop your own solution using AJAX or can
use third party solution
i myself using YUI for the development but lately we are trying jquery and
its really good to work with it.

Choice is all urs...

On Wed, Apr 21, 2010 at 12:23 PM, Dale Newfield  wrote:

> Sounds like you want the browser to submit a request without attempting to
> replace the current page with the results.
>
> The way the browser does that is by using javascript and specifically a
> javascript object called XMLHttpRequest.  Use of that has become called
> AJAX, and there are lots of libraries that'll help you do so in a (more)
> browser independent manner.
>
> The Request object in prototype is pretty simple, but if you're getting
> started with a library that you'll be using for a while I've heard good
> things about and would suggest looking at jquery.
>
> -Dale
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: struts action related query

2010-04-20 Thread Dale Newfield
Sounds like you want the browser to submit a request without attempting 
to replace the current page with the results.


The way the browser does that is by using javascript and specifically a 
javascript object called XMLHttpRequest.  Use of that has become called 
AJAX, and there are lots of libraries that'll help you do so in a (more) 
browser independent manner.


The Request object in prototype is pretty simple, but if you're getting 
started with a library that you'll be using for a while I've heard good 
things about and would suggest looking at jquery.


-Dale

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: struts action related query

2010-04-20 Thread jaya krishna
its better to use AJAX

Jay

On Wed, Apr 21, 2010 at 12:15 PM, Upasana Sharma wrote:

> Hi all
>
> I have a jsp that opens up as a pop up. I want to call a form submit from
> this jsp so that it calls some method in action. But I want that the jsp
> remains static as pop up and do not redirect or forward to some other jsp.
> In struts.xml we have to specify some  for some . Can you
> help me out how to deal with such scenario...
> thanks in advance..
>
> Upasana Sharma
>


struts action related query

2010-04-20 Thread Upasana Sharma
Hi all

I have a jsp that opens up as a pop up. I want to call a form submit from
this jsp so that it calls some method in action. But I want that the jsp
remains static as pop up and do not redirect or forward to some other jsp.
In struts.xml we have to specify some  for some . Can you
help me out how to deal with such scenario...
thanks in advance..

Upasana Sharma