Description of problem: From: https://bugzilla.redhat.com/show_bug.cgi?id=746970 Please note that http://localhost:8080/petclinic-fixed/welcome.do does not work in this version because ClinicController is annotated with @Component instead of @Controller Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: ClinicController is annotated with @Component instead of @Controller. This means <ulink url="http://localhost:8080/petclinic-fixed/welcome.do"/> will fail to work.
Technical note can be removed, the distributed example is correct.
Verified in WFK2 ER7.
Deleted Technical Notes Contents. Old Contents: ClinicController is annotated with @Component instead of @Controller. This means <ulink url="http://localhost:8080/petclinic-fixed/welcome.do"/> will fail to work.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: ClinicController is annotated with @Component instead of @Controller. This means http://localhost:8080/petclinic-fixed/welcome.do will fail to work.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -ClinicController is annotated with @Component instead of @Controller. This means http://localhost:8080/petclinic-fixed/welcome.do will fail to work.+Previously, ClinicController was annotated with @Component instead of @Controller. This meant http://localhost:8080/petclinic-fixed/welcome.do failed to work. This is fixed with the release of JBoss Web Framework Kit 2, and the ClinicController class is annotated with @Controller in both cases.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -Previously, ClinicController was annotated with @Component instead of @Controller. This meant http://localhost:8080/petclinic-fixed/welcome.do failed to work. This is fixed with the release of JBoss Web Framework Kit 2, and the ClinicController class is annotated with @Controller in both cases.+Previously, ClinicController was annotated with @Component instead of @Controller. This meant http://localhost:8080/petclinic/welcome.do failed to work. This is fixed with the release of JBoss Web Framework Kit 2.
Docs doesn't usually control or deal with code examples (and I believe bec didn't). I see she added the correct technical note information for the WFK 2.0 release, so who should this be assigned to now? Or should it be closed? Thanks, Isaac