This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes ajax and struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ajax and struts2" Watch "ajax and struts2" New topic
Author

ajax and struts2

Ritesh Badwaik
Greenhorn

Joined: Feb 23, 2009
Posts: 16
Hello friends,
I am new to ajax, Can anyone tell how to use ajax with struts2? The problem is as follows:
I have to submit a form using ajax. the action class generates a image and I have to use that image in the same form(input page)
Please suggest some books or give some small code snippet.

Thanking you,
Ritesh

Johannes Geppert
Ranch Hand

Joined: Jan 12, 2010
Posts: 67
Ritesh Badwaik wrote:Hello friends,
I am new to ajax, Can anyone tell how to use ajax with struts2? The problem is as follows:
I have to submit a form using ajax. the action class generates a image and I have to use that image in the same form(input page)
Please suggest some books or give some small code snippet.


I can suggest you the struts2 jquery plugin for submitting a form with AJAX.

http://code.google.com/p/struts2-jquery/wiki/SubmitTag

Of course you can use the official dojo plugin, but this is deprecated.

Best Regards

Johannes Geppert


My Java and Webprogramming Blog
 
jQuery in Action, 2nd edition
 
subject: ajax and struts2
 
Similar Threads
Struts2
Struts2 questions
Struts2 and Ajax
Struts2
Struts2: problem with select tag