This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Servlets and the fly likes hello Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "hello" Watch "hello" New topic
Author

hello

srinivaS rao mul
Greenhorn

Joined: Apr 25, 2008
Posts: 3
this is srinivas doing MCA final
sem project using servlets and jsp
i have created front by using jsp
whts the problem is that it is not connecting to the the data base
data base iam using is oracle 9i.
pls
tell me the solution
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
What does "is not connecting" mean? What exactly is the code trying to do? Can you connect to the database by other means? Have you verified that all the connection settings used by the web app are correct? Are there any error messages in the server logs? TellTheDetails

Also, please UseAMeaningfulSubjectLine. "hello" tells us nothing about the problem at hand.
[ May 20, 2008: Message edited by: Ulf Dittmer ]

Ping & DNS - updated with new look and Ping home screen widget
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13869
    
  10

Hello Srinivas, welcome to JavaRanch. Please use a meaningful subject line instead of "hello" when you post a question.

It is hard to answer your question, because you don't provide any details about how your application tries to connect to the database, or if you get any errors.

So, tell us in detail what you tried and in what way it doesn't work. Do you get error messages? If yes, then what are the error messages?


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Rajat Bhatnagar
Greenhorn

Joined: Mar 11, 2008
Posts: 22
Connecting with Oracle is very simple.

Please mention the appropriate problem you are facing and we will be glad to help.


Regards<br />Rajat Bhatnagar<br /><a href="http://guideofgreatness.googlepages.com" target="_blank" rel="nofollow">http://guideofgreatness.googlepages.com</a>
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

srinivaS rao mul,
Welcome to JavaRanch!

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here.
In particular please see:
UseAMeaningfulSubjectLine

"hello" tells us nothing about the nature of your question.


Again, welcome to JavaRanch and good luck with your question.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: hello
 
Similar Threads
restoring databse using jdbc
connecting jsp page with sql
Storing date in DB using Entity Beans
export a data file
how to create a connection pool?