File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts with Ajax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts with Ajax" Watch "Struts with Ajax" New topic
Author

Struts with Ajax

amit sharma
Ranch Hand

Joined: Jul 19, 2006
Posts: 129
Can anyone help me how to add ajax functionality in struts framework
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61417
    
  67

What specific issue are you having?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
amit sharma
Ranch Hand

Joined: Jul 19, 2006
Posts: 129
I want to redesign my website in ajax if i can use struts with ajax then it is very helpful for me.
Thanks
Jan Groth
Ranch Hand

Joined: Feb 03, 2004
Posts: 456
hey,

i'm afraid you are not providing enough information for us being able to answer something meaningfull.

the quick answer will be: yes, you can use AJAX with struts. search for the term in this forum and you'll find out that you are by far not the first who is asking this question.

if you have more detailled questions, like a concrete scenerio (instead of "a web app"), please come bakc here,

bye for now,
jan
amit sharma
Ranch Hand

Joined: Jul 19, 2006
Posts: 129
My problem is that when i make a call to action class(using ajax) then a new page loaded .I want that i receive response in form of text so that using that response i change some part of my page .
Thanks
alan wamser
Ranch Hand

Joined: Jan 30, 2006
Posts: 41
If I understand what you are asking, when you call the struts action you are getting forwarded to the next page. If that's the issue then return null.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts with Ajax