I am familiar with Java as a language but not JSP and Spring framework. I am trying to load an existing project and using vim
as my IDE.
Originally, when working on it using eclipse
, I installed openjdk7-jdk
, downloaded the tomcat7
server from its website and extracted to a location, imported project in current workspace, set up the tomcat for server environment. I was able to see the application in browser.
I am looking for a way to use vim
, installing tomcat
from official repos and then either set up a new host for this application or adding a context for the same. I have tried both the ways but still not able to make it work. I get the tomcat standard 404 error page.
This answer here says that this may work if I create a .war
file and place it in the webapps
folder. Is this the only way to run a spring
based application?
After working in ASP.Net, ROR, Django, I am assuming Java also has similar deployment structure.