JSP on linux (terminal)
i don't know what setting have to make on linux to run jsp programm using tomcat, please tell me what setting and how to do.
rushikesh jadha
Junior Poster in Training
89 posts since Dec 2011
Reputation Points: 4
Solved Threads: 11
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
Install tomcat.
Configure tomcat_users.xml (in /etc or /lib something, depends on distro) to have a manager user (see comments)
Start tomcat
Go to http://hostname:8080 (i think thats the port)
login as that user
deploy your compiled .war using the web interface.
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
Install tomcat.
Configure tomcat_users.xml (in /etc or /lib something, depends on distro) to have a manager user (see comments)
Start tomcat
Go to http://hostname:8080 (i think thats the port)
login as that user
deploy your compiled .war using the web interface.
Small correction, users configuration is not necessary for running tomcat in bare minimum. Not really need it for one user with local deployment. You would used user configuration when you are trying to administer restriction with larger user team or having it in production.
PS: tomcat_users.xml would be also located in TOMCAT_DIRECTORY/conf if you went for zip/tar package instead of apt-get (debian), yum (fedora)
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601