if you worked with Spring MVC framework, you probably awair of its basic configurations including Dispatcher and web xml files.
this repository based on maven and already had the basic configuration, all you need is cloneing and using it.
I downloaded this project from Mkyong site and changed and added other things to it
it's so simple.
-
just clone it and import/open it into your IDE (like
IntelliJorNetBeans) and then simply run it (your IDE will automatically compile and deploye it on your web service) -
you can also compile it using maven with following command:
mvn clean installthen copy the
.warfile (which will be created intargetfolder) and deploy it on your web server liketomcat
for checking is it working or not, just after doing previous step, go to {your-localhost-ip}:{port}/Spring-mvc and if it's working you should see a page with this message:
Spring MVC Quick Start Kit (SMQSK)
Welcome
if you see this page, it means I'm working