• Post Reply Bookmark Topic Watch Topic
  • New Topic

ajax and struts2

 
Ritesh Badwaik
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!