How to start/stop tomcat by using " /etc/init.d/tomcat" command. Ans : 1) Check linux server run level by using following command who -r If runlevel is 3 then create the file vi /etc/rc.d/init.d/tomcat and add the following code ==================================== #!/bin/sh...
Category: Tomcat
How to install JavaFX on Linux server
Installing the JavaFX SDK on Ubuntu Linux or OpenSolaris Access the URL http://java.sun.com/javafx/downloads/ and Download JavaFX 1.2.3 SDK for Linux platformon your local machine And Upload by using ftp or file manager under the /usr/local directory cd /usr/local chmod a+x...
how to include file in jsp page
How to include file in the .jsp pages : <%@ include file="footer.jsp" %>
mysql connection in jsp
Database Connection by using jsp page . The URL based mysql connection is ================================= jdbc:mysql://serverip address/DATABASENAME?user=USERNAME&password=PASSWORD ================================= OR ================================= <!-- 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--> ================================= OR =================================...