Reputation: 1120
I try to deploy webproject which do not have web.xml
and WEB-INF
, and fully configured using spring mvc java configuration. .war
file works perfectly on local machine in tomcat 7. But when I put war on the openshift application using winscp and then trying to connect to it, I get throws 404 notfaund response. Maybe someone can explain me what can be wrong. Also I use html
not jsp
for web content.
Upvotes: 0
Views: 112
Reputation: 1113
You can either deploy war or can add project folder like: $TOMCAT_HOM/your-project-directory/.html,.jsp/WEB-INF/class (all java files) and WEB-INF/lib (your all jars) + WEB-INF/web.xml
Upvotes: 2