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



------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to