what is the procedure of connecting a struts application to a database . i want to connect a simple user registration application to my oracle 10g what are the steps to be followed to establish the connection
There are an endless number of ways of using databases.
If you're using a modern version of Struts (1.3, 2+) there's no Struts-specific ways. S1.2 continued to support a deprecated technique from S1.1, but it's not recommended.
i tried out connection my application to my oracle database but i am getting the following error
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
the line that is creating the problem i feel is
Class.forName("oracle.jdbc.OracleDriver");
Connection con=DriverManager.getConnection("jdbc:oracle:thin:@acer:1521:xe","system","sys");