Can you tell me why I would get an HTTP Status 404 resource not available error when adding a new action to my controller in the following trivial way:
- First, I added a statement, println "in list action", to the list action which Grails generated, to make sure I'm seeing the file updates made to the controller. This println then comes out on the console.
- I added a new action "abc" in the controller, directly copying its code from the index action, i.e. making it simply redirect to the list action.
When I enter the browser address: http://localhost:8080/myApp/user/abc it returns resource not available. Re-starting grails did not help. If I enter http://localhost:8080/myApp/user/index, it works as expected.
Thanks