What is the correct way of returning from PortalController to some JSP file. I am able to return to index.html but, what is the correct configuration to make index.jsp file to be Compiled ?
@RequestMapping(value = "/", method = RequestMethod.GET)
public String index(Model model,
@RequestParam(value = "link") UUID applicationId) {
LoadContext<Application> applicationLoadContext = new LoadContext<>(Application.class).setView("application-view");
applicationLoadContext.setQueryString("select s from sales$Application s where s.id = :id").setParameter("id", applicationId);
Application application = dataService.load(applicationLoadContext);
model.addAttribute("anketa", application);
return "index";
}
I have tried implementing the same on platform version 7.1 . And whenever i tried to access “localhost:8080/app/dispatch/index.jsp” it keeps redirecting me to login page .
I have followed Marios implementation but got no success, Same result as mentioned.