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.

Recommended Answers

All 4 Replies

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.

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)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.