Have you tried using jquery plugin, dojo is outdated plugin for strust2 latest. Fyi : https://cwiki.apache.org/confluence/display/S2PLUGINS/jQuery+plugin+-+Easy+AJAX+and+Widget+Integration
-- Thanks & Regards Srikanth Software Developer -------------------------------- eGovernments Foundations www.egovernments.org Mob : 9980078913 -------------------------------- On Mon, Jul 7, 2014 at 4:37 PM, Ratna Kar <ratnakarb.t...@gmail.com> wrote: > I am trying to do a sample ajax application(Struts 2.3 latest) which is > based on dojo. > > but the ajax functionality not working for me. I have included the > necessary dojo plugin in > the classpath. > > but still the ajax functionality is not working.. > > getting the following errors while testing my action. .. pls help > > *Error 1* > > TypeError: "$Rev$".match(...) is null > > revision: Number("$Rev$".match(/[0-9]+/)[0]), > > > *Error 2* > > TypeError: dojo.require is not a function > > dojo.hostenv.writeIncludes(true); > > Please help me in resolving the issue. >