Dojo Integration
Struts2 Maven Dojo Integration
Posted June 16th, 2008 by AjayChHi all,
I am new to struts2 and Ajax and am currently using struts2 with maven. Now I need to
use Dojo tags in my application.
I configured my web.xml as
---------
staticFilter
com.cpt.his.webapp.filter.StaticFilter
includes
/scripts/dojo/*,/dwr/*
struts
/*
REQUEST
staticFilter
/*
--------------
In my .jsp page I have included as
---------------
Now when I try to launch a page with the extension '.html' I get the following error
There is no Action mapped for namespace /struts/dojo/src/widget/templates and action name DatePicker. - [unknown location]
at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186)
at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:494)
at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
------------------
Could anyone please guide me where I am going wrong in my configuration? Any ideas will
be greatly appreciated.
Thanks
Dojo Forum