Zaim Akınöz

Greenhorn
+ Follow
since Jan 14, 2016
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Zaim Akınöz

Hi, i'm new in Spring + MVC.
i've found a script and i could run some part of this script.
this script configuring spring mvc with no xml, inside java side.
i put all the jars into WEB-INF/lib.

ControllerConfiguration .java



MyWebAppInitializer.java



MyController.java





MovieController.java





Film.java



i have two questions:
1. if i write "http://localhost:8080/SpringMVC/", the page displays.
But if i write "http://localhost:8080/SpringMVC/movies/index" i get this warning:

"WARNING: No mapping found for HTTP request with URI [/SpringMVC/WEB-INF/views/index.jsp] in DispatcherServlet with name 'spring'"


2. if i add a JSP page(Giris.jsp) under WebContent, i cannot display this page. must all page has a mapping? how can i display simple jsp page?

WARNING: No mapping found for HTTP request with URI [/SpringMVC/Giris.jsp] in DispatcherServlet with name 'spring'



Regards.
6 years ago