From: Sindu R <ris...@ya...> - 2010-02-05 12:55:25
|
Hi, I have just started evaluating Stripes for a project and started with the Calculator example in the Quick start guide. I am facing an issue though. When the param-value for ActionResolver.Packages is set to net.sourceforge.stripes.examples, I see logs such as Wiring path /examples/quickstart/Calclator.action to net.sourceforge.stripes.examples.quickstart.CalculatorActionBea @ /examples/quickstart/Calculator.action in the log. However, once the param-value is changed to something else such as com.sourceforge.stripes.examples with corresponding changes in the jsp and ActionBean, I get an ActionBeanNotFoundException exception when the jsp is submitted. net.sourceforge.stripes.exception.ActionBeanNotFoundException: Could not locate an ActionBean that is bound to the URL [/examples/quickstart/Calculator.action]. Commons reasons for this include mis- matched URLs and forgetting to implement ActionBean in your class. Registered ActionBeans are: {/controller/DefaultView.action=class net.sourceforge.stripes.controller.DefaultViewActionBean, /controller/DefaultVi ew.action/=class net.sourceforge.stripes.controller.DefaultViewActionBean} It looks like the param-value set in web.xml for ActionResolver.Packages is not considered at all. What could be the problem? I am using Stripes 1.5.3 and tomcat 6.0.2. Thanks, Sindu |