Oscar Westra van Holthe - Kind <kin...@...> writes: > > > Sindu R <riss.regis...@...> writes: > Yes: the package name is used to resolve the classes that can handle > requests. They are translated into the URL's that will be handled by Stripes. > How can be found on the website and in the book "Stripes... and web > development is fun again" by Freddy Daoud. > > Your change modified the package where these classes are into something else. > As a result, no URL is mapped, and Stripes no longer can find the code. Hence > the exception. This is visible from the absence of a log line like: > > > Wiring path /examples/quickstart/Calclator.action to > > > net.sourceforge.stripes.examples.quickstart.CalculatorActionBea > > > @ /examples/quickstart/Calculator.action > > This actually says there is a class name > net.sourceforge.stripes.examples.quickstart.CalculatorActionBean. > So if you change the prefix "net" into "com", this class can no longer be > found. > > But as you may have noticed, the name "ActionResolver.Packages" is plural. > You can make it a comma separated list (even with extra whitespace for > readability: > > Oscar Thanks for responding, Oscar. The problem I was facing earlier was that the CalculatorActionBean was not getting 'picked up' even though the bean was also modified to be in the com.sourceforge.stripes.examples.quickstart package.
It appears to be working fine now. ------------------------------------------------------------------------------ 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