servlets - struts.action.excludePattern not working, -


struts.action.excludeParttern is not working for me in Struts 2, I had the formatting in the form of the Sabette Cal, form submission Will do On hyperlink click

struts.xml:

  & lt; Continuous name = "struts.action.excludePattern" value = "/ PunchoutOrder" />   

web.xml

  & lt; Servlet & gt; & Lt; Description & gt; & Lt; / Description & gt; & Lt; Display-name & gt; PunchoutOrder & lt; / Display-name & gt; & Lt; Servlet-name & gt; PunchoutOrder & lt; / Servlet-name & gt; & Lt; Servlet category & gt; Com.PunchoutOrder & lt; / Servlet category & gt; & Lt; / Servlet & gt; & Lt; Servlet-mapping & gt; & Lt; Servlet-name & gt; PunchoutOrder & lt; / Servlet-name & gt; & Lt; URL pattern & gt; / PunchoutOrder & lt; / URL pattern & gt; & Lt; / Servlet-mapping & gt;   

jsp:

   Error getting below:  
  15: 26: 37,512 Warning [Dispatcher] Action or result could not be found in the name and / or action name for action name PunchoutOrder - [unknown location] com. On org.apache.struts2.impl at org.apache.struts2.impl.StrutsActionProxy.prepare (StrutsActionProxy.java:61) at opensymphony.xwork2.DefaultActionProxy.prepare (DefaultActionProxy.java:189) ORG.apache.struts2.dispatcher at ORD.Apache.AgentProxyFactory.createActionProxy (StrutsActionProxyFactory.java39) com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy (DefaultActionProxyFactory.java:58) org.apache.struts2.dispatcher.Dispatcher.serviceAction (Dispatcher .java: 475) .struts2.dispatcher.ng.ExecuteOperations.executeAction (ExecuteOperations.java:77) at org.apache   

I'm making some deficit ....... ....?

Add to web.xml Thank you .....

Servlet in servlet url pattern

  & lt; Servlet-mapping & gt; & Lt; Servlet-name & gt; PunchoutOrder & lt; / Servlet-name & gt; & Lt; URL pattern & gt; /PunchoutOrder.srl< / Url pattern & gt; & Lt; / Servlet-mapping & gt;    

Comments