Skip to content

Conversation

@siswono
Copy link

@siswono siswono commented Jun 5, 2018

1.) Dalam file helloworld.java
return new ModelAndView("welcome", "message", messages);
yang benar adalah penulisan messages di ubah menjadi message jadu:
return new ModelAndView("welcome", "message", message);
2.) Dalam script my-spring-servel.xml
<context:component-scan base-package="com.tobuku" />
Ada penambahan “.controller” sehinga menjadi:
<context:component-scan base-package="com.tobuku.controller" />
3.) Dalam script my-spring-servel.xml



Perubahan “.xml” menjadi “.jsp” sehinga menjadi:



4.) Dalam script pom.xml
hapus script

javax.servlet
javax.servlet-api
3.1.0
provided

5.) Dalam script web.xml

myspring
.html
.anything

Perubahan “myspring” menjadi “my-spring” sehinga menjadi:
servlet-mapping>
my-spring
.html
.anything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant