abhay das

Greenhorn
+ Follow
since Aug 22, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by abhay das

Hi Mocca,
I would like to clarify about what I want...See I have installed tomcat-3.2.1 in my D: drive.I have been able to make a connection with tomcat and can view the tomcat webpage.But the thing which I want to know is like when I write up some .Jsp or .Html file I need to store it some where...so where to store it?Is it in some directory in tomcat or I have to prepare some two or three separate directory for .jsp and .html etc.
I have tried some examples to run but it shows some error Http404...Not found....somthing like that.I have defined the classpath to access some database from Oracle8i.After startup, the classpath I defined is like D:\jakarta-tomcat-3.2.1\bin>set classpath D:\jsdk2.0\lib\classes12.zip.
But it does not show any results...only the error.
But the foremost thing you can do is like tell me where to save all these files.
Thanx
Abhay
22 years ago
Hi,
Kindly help regarding where to save all jsp files and html files.
I'm using jakarta-tomcat-3.2.1 as my server.And also how can I connect between various html and jsp files when I run it in a web browser?If any documentation is there kindly refer the URL.
Thanx
Abhay
22 years ago
Hi,
Where can I find good Documentation on JSP and Servlets which I can Download?
Thanx
Abhay
22 years ago
Hi,
Kindly help me out for setting up the right classpath or path names for tomcat and apache server.I have installed Win2k Pro,Oracle8i, jdk1.3 in my PC.I have three partions in my PC namely C:, D: and E:.Oracle8i,JDK1.3,Tomcat-3.2.1 and the Apache Server are all saved in the D: drive.Help me out urgently.I'm eagerly waiting for some response.
Thanx
Abhay
22 years ago
Hi,
The subject given above is my issue.
Kindly Help.
Thanx
Abhay
22 years ago
Hi Mr. Robertson,
I have got your mail and thanx for replying.The problem is when I execute this example Employee.java...it executes.When I try to run it like D:\Abjava\javac Employee.java then it runs but when I try to run D:\Abjava\java Employee this is the error it gives....Exception in thread "main" java.lang.NoClassDefFoundError:Employee.I have saved this in a directory called Abjava in D: drive in my PC.
Please help me out.
Thanx
Abhay
Hi,
This Example.java I'm giving from the examples given in the Oracle8i demo.
/*
* This sample shows how to list all the names from the EMP table
*
* It uses the JDBC THIN driver. See the same program in the
* oci8 samples directory to see how to use the other drivers.
*/
// You need to import the java.sql package to use JDBC
import java.sql.*;
class Employee
{
public static void main (String args [])
throws SQLException
{
// Load the Oracle JDBC driver
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
// Connect to the database
// You must put a database name after the @ sign in the connection URL.
// You can use either the fully specified SQL*net syntax or a short cut
// syntax as <host>:<port>:<sid>. The example uses the short cut syntax.
Connection conn =
DriverManager.getConnection ("jdbc racle:thin:@dlsun511:1721:dbms733",
"scott", "tiger");
// Create a Statement
Statement stmt = conn.createStatement ();
// Select the ENAME column from the EMP table
ResultSet rset = stmt.executeQuery ("select ENAME from EMP");
// Iterate through the result and print the employee names
while (rset.next ())
System.out.println (rset.getString (1));
}
}
Ofcourse I know to change the database name and the port no....but even if I change it some problems do occur.
Kindly let me know how to run this particular example and any classpaths or paths are required to be set for this.I'm using JDBC Thin Drivers and have win2000 pro and Oracle8i installed in my machine.I have saved all my .java files in a directory called Abjava in the D: drive in my PC and Oracle8i and JDK1.3 are installed in the same drive too.
Kindly let me know as soon as possible.
Thanx
Abhay.
Hi,
Kindly help me to set up the classpath for JDBC thin drivers.I have Windows 2000 pro. and Oracle8i installed in my PC.Kindly help me soon.
Thanx
Abhay
Hi,
I want to know about how to connect Applets with Oracle8i using JDBC thin drivers?Also I want to know about the setting of the classpath for the same.
Thanx
Abhay