Index 1] Introduction 1.1 Introduction Of Jsp 1.2 Introduction Of Tomcat 2] Requirements Of Hardware And Software Tomcat. 3] Installation Of And Java And Tomcat 3.1] How To Install Java 3.2] How To Install Tomcat 4] Configuration of Tomcat and...
Category: Tomcat
Database connection settings in jsp
You can use the following code for Database connection in jsp page. <!-- Database connection settings --> <property name="connection.driver_class">com.mysql.jdbc.Driver</property> <property name="connection.url">jdbc:mysql://localhost/database_name</property> <property name="connection.username">databses_user</property> <property name="connection.password">password</property> <!-- configuration pool via c3p0--> Note : Replace database_name = exact database name, databses_user =...
Tomcat Server Control with Wget and the Tomcat Manager
Tomcat Server Control with Wget and the Tomcat Manager Tags: * Tomcat Using wget and the Tomcat manager, you can script remote tomcat deploys, undeploys, starts, stops, and status. First, make sure the tomcat manager is installed and running. (see:...
Some tomcat related command
Some tomcat related command 1) How to check version of Tomcat root@server # cd /usr/local/jakarta/tomcat/bin root@server # sh version.sh 2] How to start and stop tomcat root@server #/usr/local/jakarta/tomcat/bin/./startup.sh For Start root@server #/usr/local/jakarta/tomcat/bin/./shutdown.sh For Stop root server# /scripts/restartsrv tomcat 3] How...