Closed willhogan11 closed 7 years ago
I am not completely sure that understood the problem, but if I am right you don't need ReqwestMapping(...) for successapply, contrariwise you need return this value in docreate controller as a string.
@RequestMapping(/docreate)
public String whatEverMethodIs(){
// code is here...
return "successapply";
}
Try this, should work.
I looked at your commits and I thing that successapply should be allowed for all. Is it only notification? if yes I thing should be like this:
<security:intercept-url pattern="/successapply" access="permitAll" />
Hope I could help.
Thanks Andrej. Essentially all i want is for the url to show /successapply . It's redirecting fine. It's actually not that big a deal to be honest, because it's still all part of the registration process.
We might have a look at this tomorrow....
Thanks Andrej!
After a user applies for membership, they are directed to the 'successapply.jsp' page, however the url still shows '/docreate'. I've changed the relevant code in the various files, any suggestions?