user2199913
user2199913

Reputation: 11

Deploying a JSP Website

I am trying to deploy a jsp website that I worked on. I implemented it on my windows machine and in the PATH variable I had the path to some bin directory, I am wondering where should I place this path or directory on the server I am deploying to.

The server is based on linux so I am not sure if that would make a difference.

I upload a single WAR file

I tried to place it in the lib directory but it didn't work.

Thank you

Upvotes: 0

Views: 290

Answers (1)

Dror Bereznitsky
Dror Bereznitsky

Reputation: 20376

Assuming you have Tomcat installed on your Linux server then you can just place your WAR file inside the $CATALINA_BASE/webapps directory as described in the Tomcat documentation.

If you do not have Tomcat installed you can follow the Tomcat documentation setup guide or this blog post. You can also use a package manager such as YUM or APT depending on the server Linux distribution.

Upvotes: 1

Related Questions