This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes question on Jar files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "question on Jar files" Watch "question on Jar files" New topic

question on Jar files

Siddharth Mehrotra
Ranch Hand

Joined: Aug 21, 2001
Posts: 185
hi everybody,
the problem that i have is that.
in case of local mode the perosn will be pointin to the place where the db.db file is.
which means that he will be selecting the db.db file.But as far as i know that file will be inside the jar file.
In case of of network mode this will be a part of server.jar file.
so how do we point to the file which is inside the jar file.
Am is going somewhere out of track.
waiting for an early response

Karthik Guru
Ranch Hand

Joined: Mar 06, 2001
Posts: 1209
no the db.db file need not be inside the jar file.
i passed! no worries.
Infact since i did my SDCD 7/8 months back..i even had to write a convesion program to create a db.db
so continue working w/o worrying about such things
subject: question on Jar files
Similar Threads
should there be 2 "db.db" files
Classloader.getSystemResource unable to find db.db when using jar
Seperate javadoc for client and server
Several questions about SCJD instructions
Can't find file