Results 1 to 2 of 2
  1. #1
    jing-yi is offline Member
    Join Date
    May 2011
    Rep Power

    Default Any idea on how to connect to database from client side?

    I want to get a sql result from a javascript event.

    Any idea to do this using java technology with ajax?

    I try update event in Prototype but look like it is not working well.

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Rep Power


    Write a servlet which queries and prints out the results. You can then call this page from ajax and parse the results

Similar Threads

  1. Need help in socket programming, client side.
    By rushabh in forum Networking
    Replies: 0
    Last Post: 01-20-2011, 08:33 PM
  2. session management ON CLIENT SIDE.
    By alfonz19 in forum Java Servlet
    Replies: 1
    Last Post: 01-15-2011, 04:57 PM
  3. JAX-RPC Registering a Client-Side Handler Problem
    By memzback in forum New To Java
    Replies: 0
    Last Post: 05-12-2010, 06:43 PM
  4. Replies: 1
    Last Post: 03-20-2010, 08:03 PM
  5. Applet with (label client side)?
    By Godsent in forum Java Applets
    Replies: 1
    Last Post: 04-30-2009, 10:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts