In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
How to deploy the jsp environment for tomcat+mysql, this article introduces the corresponding analysis and answer in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.
Tomcat+mysql deploys jsp environment
My JSP source program runs normally on the WINDOWS platform, using Windows2000+Tomcat+mysql; to transplant the program to the linux system.
System: Redhat AS3
JDK:1.5.0
Operating normally:
[root@szho001 bin] # java-version
Java version "1.5.0"
Java (TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot (TM) Client VM (build 1.5.0-b64, mixed mode, sharing)
Tomcat:5.5.17
Operating normally:
[root@szho001 bin] #. / startup.sh start
Using CATALINA_BASE: / usr/local/apache-tomcat-5.5.17
Using CATALINA_HOME: / usr/local/apache-tomcat-5.5.17
Using CATALINA_TMPDIR: / usr/local/apache-tomcat-5.5.17/temp
Using JRE_HOME: / usr/java/jdk1.5.0
Mysql:3.23.57
Operating normally:
[root@szho001 bin] # mysql
Welcome to the MySQL monitor. Commands end with; or g.
Your MySQL connection id is 3 to server version: 3.23.57
Type 'help;' or' h' for help. Type 'c'to clear the buffer.
Mysql >
Http://localhost:8080/ access is normal.
I copied the JSP source program to / usr/local/tomcat/webapps/, and modified the / usr/local/tomcat/conf/server.xml file to add the following:
Reloadable= "true" crossContext= "true" >
An error occurred when accessing http://localhost:8080/games/, and the page shows:
HTTP Status 404-/ games/welcome.do
Type Status report
Message / games/welcome.do
Description The requested resource (/ games/welcome.do) is not available.
Apache Tomcat/5.5.17
Little brother is in urgent need of solving this problem, please help me to see where the problem lies!
In addition, I don't know: do you need to rest in peace to install and configure JDBC for MySQL; if you need to?
This is the answer to the question about how to deploy the jsp environment for tomcat+mysql. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.