Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by la

  1. la

    setup data source through java

    that, my friend, is exactly what i am asking. the thing is i know it can be done, because a friend of mine did before (using Runtime.exec() or something. don't ask me about the friend plz :) it is a very simple task too, only about 7 - 10 lines of code.
  2. la

    parsing files

    thanks for your feedback jstreich. basically along the same lines as i am approaching it. simple and to the point. i find that one of the biggest problems is there is no help or books or articles (at least i couldn't any) on interpreting markup languages (as opposed to regular languages such as...
  3. la

    setup data source through java

    hello again. i had a feeling JNDI is wasn't what i needed. let me try and explain what i want a bit clearer. i know how to use JDBC with databases, odbc, etc. now, to setup a datasource you have to go to control panel -> administrative tools -> data sources (odbc). then u would click on "Add"...
  4. la

    parsing files

    i want to make a file parser and interpreter for a markup language such as HTML, CFML (more like CFML). i justed wanted to get your opinion on what the easiest way to go about this is and why??? for example you have a HTML file with the following content: <HTML> <!-- forget the head we...
  5. la

    setup data source through java

    thanks for the reply sedj the only lines new to me are: Context ctx = new InitialContext(); DataSource ds = (DataSource)ctx.lookup("java:comp/env/myPoolName"); Connection c = ds.getConnection(); maybe it's because i've never user JNDI. would you be so kind as to give me a brief introduction...
  6. la

    setup data source through java

    hi all, this is my first post as i have just joined the tek-tips community. long time reader though, love the site. i want to set up a data source from within a servlet. the servlet will take in the two variables. these will be the path to the database and the datasource name. then another...

Part and Inventory Search

Back
Top