Code(use V0.0.2)
https://github.com/vikashsaini01/TaskFirst/tree/V0.0.2
Reffered this question for solution and tried to implement it but it didnt work.
https://stackoverflow.com/questions/28480223/using-both-thymeleaf-and-jsp
I am trying to implement a simple spring security project. I ended up having both thymleaf and jsp in my project :) . I referred the above url for solving this and tried to copy the configuration in xml as java configuration. But it is not working. If i use thymleaf jar in pom, jsp stops working. and if i configure view resolver thymleaf stops working.
One more thing ServletContextTemplateResolver
doesnt have setViewNames(String..)
, So I configured setName(String)
for this.
Can I get help to make below two work.
http://localhost:8080/tasks (in folder TaskFirst\src\main\webapp\WEB-INF\jsp\tasks.jsp
)
http://localhost:8080/home (in folder TaskFirst\src\main\resources\templates\home.html
)