View Single Post
Old 08-23-2007, 09:32 PM   #1 (permalink)
TMSTKSBK
Master of the Internet
 
TMSTKSBK's Avatar
 
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
Default So tell me about InitialContext()

My school has told me to break this open-source web app written in Java.

I'm trying to oblige.

Unfortunately, I don't know what this string:

Object dataSource = ((Context) new InitialContext().lookup("java:comp/env")).lookup("jdbc/itrust");

translates to.

Helps?
__________________
Goodbye, folks.
TMSTKSBK is offline   Reply With Quote