Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Ajax using dojo plugins in struts2

 
Sourabh Chaki
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to make ajax call from a div using dojo plugins in struts2. I am using the following jars: struts2-core-2.1.8.1.jar

struts2-dojo-plugin-2.1.8.1.jar

I have the following jsp:



But I am getting the following exception:




I have proper struts.xml and action defined. Same is working if I am not using ajax.Can some one please help me out here.
Please also give me an example how to use ajax from a div using struts2 dojo plugin. I want to replace the div with the result jsp on submit using ajax.

Thanks in advance.

 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!