Sindu R <riss.regis...@...> writes:
>
> 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
>
Hi,
Is there no one who can help? I am a newbie and would really appreciate some
inputs in understanding what I am doing wrong.
For the most part I have tried to follow the Calculator example in the quick
start guide except for using a different package.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users