Hello Greg,
It sounds like you have the Controller setup correctly. The other piece that needs to be configured is the web.xml.
In the WEB-INF/web.xml of a ME4S scaffolded MVC application, you’ll notice several servlet-mapping entries that match the Controller Request Mapping URLs. The reason these are all referenced in the web.xml is so the web service knows to direct the request to the Servlet. Otherwise, the server thinks someone is browsing to a directory.
You can also use wildcards in the servlet-mappings. For instance, you’ll find a *.action servlet-mapping. This states that any URL ending with “.action” will go through the Servlet. So, if you renamed your RequestMapping URL to /appname/newfunction.action, it should work without any modification to the web.xml. Or just add /appname/newfunction as a new servlet mapping and you should be all set.
Let me know if this helps.
Kind regards,
=Dave