| Author |
Error in connecting oracle 10g XE with java
|
P Arunkumar
Ranch Hand
Joined: Jan 05, 2012
Posts: 116
|
|
Hi,
Iam trying to connect oracle 10g XE with java but iam having some confusion please help me to solve my issue.
I am accessing tomcat with: localhost/8080 and oracle 10g with:localhost:80/apex
My schema name is hr password is hr
My code is :
Please guide me iam doing correct or not please help to solve my issue, iam using ojdbc14.jar, servlet-api.jar file
Error is
HTTP Status 404 - /trial/servlet/Login1
--------------------------------------------------------------------------------
type Status report
message /trial/servlet/Login1
description The requested resource (/trial/servlet/Login1) is not available.
Please solve my issue, I not having any one to solve my issue in my office please guide me iam developing alone please solve y issue.
Thanks in advance.
|
 |
P Arunkumar
Ranch Hand
Joined: Jan 05, 2012
Posts: 116
|
|
Hi
Please guide me and solve my issue, please anyone reply for my post, its my request.
Thanks in advance.
|
 |
P Arunkumar
Ranch Hand
Joined: Jan 05, 2012
Posts: 116
|
|
HI
i have tried it is working fine in java but i tried to connect with jsp, servlet + oracle its showing Null pointer Exception.
My Jsp code is working fine
Main.jsp
My servlet code :
Login.java
My oracle DB:
I am accessing tomcat with: localhost/8080 and oracle 10g with:localhost:80/apex
Table name ADDUSER
FIELDS
EMAIL,PASSWORD
Iam getting null pointer exception please solve my issue i can't guess why iam getting error please help me.
thanks in advance.
|
 |
 |
|
|
subject: Error in connecting oracle 10g XE with java
|
|
|