jug-indonesia  

Re: [JUG-Indonesia] Cara Panggil / Taro File XML - WAS (Membuat Koneksi Java Mysql dari textfield)

Yudhi Karunia Surtan
Tue, 09 Feb 2010 03:00:55 -0800

Hahahaha...

Classpath bukan nama kelas tuh...


Regards,


Yudhi Karunia Surtan
--------------------------------------
Mobile (+62)-818-08347561
http://yudhikarunia.wordpress.com


On Tue, Feb 9, 2010 at 12:42 PM, Niksen Harjanto <milis.java.ko...@gmail.com
> wrote:

>
>
> ayaaah lupa ada classpath....
> pake filereader soalnya pake library nanoxml-lite.2.2.3, di sample
> codenya pake filereader.
> metodenya lebih keliatan lebih simple daripada pake SAX parser.
>
> ok, ok, ada pencerahan lagi....
> makasih...
>
>
> On 2/9/10, Adelwin, Adelwin <adelwin.adel...@sc.com<Adelwin.Adelwin%40sc.com>>
> wrote:
> > Nah kalo ituh belajar CLASSPATH...
> >
> > Mulai dari wiki dulu deh...
> >
> > http://en.wikipedia.org/wiki/Classpath_%28Java%29
> >
> > mayan buat ada gambaran dikit...
> >
> > basically classpath ituh list of directories... yang akan di search sama
> > java pertama kali kalo mau nyari2 file ato resource...
> >
> > btw... knapa pake FileReader?
> >
> > Udah ada SAXParser... ada DOM juga... lebih gampang...
> >
> > Langsung jadi tree yang tinggal di evaluate...
> >
> >
> >
> >
> >
> > Adelwin Handoyo | Senior Consultant - Wholesale Bank
> > Standard Chartered Bank
> > Plaza By The Park #06-00, 51 Bras Basah Road. Singapore (189554)
> > T : (65) 655 72441 | E adelwin.adel...@sc.com <adelwin.adelwin%40sc.com>
> >
> >
> >
> >
> >
> > ________________________________
> >
> > From: jug-indonesia@yahoogroups.com 
> > <jug-indonesia%40yahoogroups.com>[mailto:
> jug-indonesia@yahoogroups.com <jug-indonesia%40yahoogroups.com>]
> > On Behalf Of Niksen Harjanto
> > Sent: Tuesday, February 09, 2010 12:14 PM
> > To: jug-indonesia@yahoogroups.com <jug-indonesia%40yahoogroups.com>
> > Subject: [JUG-Indonesia] Cara Panggil / Taro File XML - WAS (Membuat
> Koneksi
> > Java Mysql dari textfield)
> >
> >
> >
> >
> >
> > Bro Yudhi n Adelwin, sory mumpung lagi bahas file settingan koneksi
> > database, mo tanya nih gmana cara load file XML settingannya ya?
> >
> > Gw taro di folder /WEB-INF/xml/ pas diload pake FileReader, dianggap
> > ga ketemu, null kalo ga salah. Kalo baca dari buku file2 pendukung JSP
> > kaya image itu disuruh ditaro di folder WEB-INF.
> >
> > makasih...
> >
> > On 2/8/10, Yudhi Karunia Surtan 
> > <brainmaster...@gmail.com<BrainMaster716%40gmail.com>
> > <mailto:BrainMaster716%40gmail.com <BrainMaster716%2540gmail.com>> >
> wrote:
> >> Hahahahaha..
> >>
> >> Yg pasti cuman satu win.. karena dia blm ngerti.. :D peace...
> >>
> >> Ajarin dong win.. :D
> >>
> >> Iya yang adelwin bilang itu bener.. Coba tampung hasil masukan dari
> >> textfieldnya ke dalam file property atau text file.
> >>
> >> Jadi nanti setiap mo koneksi ke database.. lu harus buka file itu untuk
> >> ngebaca di mana alamat ip databasenya.
> >>
> >> Dasarnya itu dulu.. tapi gw kasih kisi-kisinya .. kalo lu ubah-ubah
> terus
> >> tuh ip coba bayangin kalo usernya ada 100 .
> >>
> >> Coba pikir.. kalo misalnya lu lagi ubah file.. terus ada orang lagi
> query
> >> ke
> >> database pake koneksi yg lama..
> >>
> >> Kira-kira gimana tuh kelanjutannya..
> >>
> >> Regards,
> >>
> >> Yudhi Karunia Surtan
> >> --------------------------------------
> >> Mobile (+62)-818-08347561
> >> http://yudhikarunia.wordpress.com <http://yudhikarunia.wordpress.com>
> >>
> >>
> >> 2010/2/8 Adelwin Handoyo <adel...@gmail.com <adelwin%40gmail.com><mailto:
> adelwin%40gmail.com <adelwin%2540gmail.com>> >
>
> >>
> >>>
> >>>
> >>> Gue lagi mikirin kenapa lu mau property2 ginian jadi editable by
> user...
> >>> Kenapa enggak pake configuration file gituh...
> >>> Say mungkin db.properties...
> >>> Isi nya key-value pair buat db connection gini..
> >>> *
> >>> Adelwin Handoyo
> >>> *- adel...@gmail.com <adelwin%40gmail.com> 
> >>> <mailto:adelwin%40gmail.com<adelwin%2540gmail.com>>
> -
>
> >>> Sent from my Mac
> >>>
> >>>
> >>
> >
> >
> >
> >
> > This email and any attachments are confidential and may also be
> privileged.
> > If you are not the addressee, do not disclose, copy, circulate or in any
> > other way use or rely on the information contained in this email or any
> > attachments. If received in error, notify the sender immediately and
> delete
> > this email and any attachments from your system. Emails cannot be
> > guaranteed to be secure or error free as the message and any attachments
> > could be intercepted, corrupted, lost, delayed, incomplete or amended.
> > Standard Chartered PLC and its subsidiaries do not accept liability for
> > damage caused by this email or any attachments and may monitor email
> > traffic.
> >
> >
> >
> > Standard Chartered PLC is incorporated in England with limited liability
> > under company number 966425 and has its registered office at 1
> Aldermanbury
> > Square, London, EC2V 7SB.
> >
> >
> >
> > Standard Chartered Bank ("SCB") is incorporated in England with limited
> > liability by Royal Charter 1853, under reference ZC18. The Principal
> Office
> > of SCB is situated in England at 1 Aldermanbury Square, London EC2V 7SB.
> In
> > the United Kingdom, SCB is authorised and regulated by the Financial
> > Services Authority under FSA register number 114276.
> >
> >
> >
> > If you are receiving this email from SCB outside the UK, please click
> > http://www.standardchartered.com/global/email_disclaimer.html to refer
> to
> > the information on other jurisdictions.
> >
>  
>