Results 1 to 6 of 6
Like Tree1Likes
  • 1 Post By moudhani

Thread: servlet an database query

  1. #1
    moudhani is offline Member
    Join Date
    Nov 2012
    Posts
    7
    Rep Power
    0

    Default servlet an database query

    Hi..



    My project is vehicle tracking system,i have to send latitude and longitude from java eclipse to jsp.then i can see vehicle moving process

    i m getting latitude and longitude continuesly in java eclipse and also able to send that data to database..but i am not able to send that data from database to jsp..

    i am able to send single data from MySQL to Browser using JSP page..
    But my problem is ,have to send data continuesly from MySQL server to JSP(ie i have to update the database data continuosly in jsp)..
    Then only i can see vehicle moving process in google map..


    anyone can help me plz........

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default Re: servlet an database query

    Moved out of staff only area.

    You don't send data from the database to a JSP.
    You have a servlet which asks the database for data, which is then forwarded to a JSP (or possibly simply returns the data).
    The client (the browser that is) will have to be set up to poll for data...that is, make Ajax calls to the servlet.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    moudhani is offline Member
    Join Date
    Nov 2012
    Posts
    7
    Rep Power
    0

    Default Re: servlet an database query

    actually i dono abt AJAX..i ll study and understood..then i ll get back to u..Thanks for ur reply Tolls.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    Default Re: servlet an database query

    Quote Originally Posted by moudhani View Post
    actually i dono abt AJAX..i ll study and understood..then i ll get back to u..Thanks for ur reply Tolls.
    Please spell words in full. This is a programming forum, not SMS chat.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  5. #5
    moudhani is offline Member
    Join Date
    Nov 2012
    Posts
    7
    Rep Power
    0

    Default Re: servlet an database query

    Its okay.1st time i am using programming forum.thats i posted like that.i will use full words here after.
    DarrylBurke likes this.

  6. #6
    moudhani is offline Member
    Join Date
    Nov 2012
    Posts
    7
    Rep Power
    0

    Default Re: servlet an database query

    hi
    i am back with one query.i am facing problem in importing program in eclipse.my client gave one program with jar file for vehicle tracking system(gps).if i put that jar file,its working fine. Samething if i import that same program and build a jar file by myself.its not working.below is the i am getting error.

    java.lang.IncompatibleClassChangeError: com/nxp/telematics/location/Location.isValid()Z
    at com.nxp.atop.LocationListenerclas.locationUpdated( LocationListenerclas.java:29)
    at com.nxp.telematics.location.LocationProvider$1.loc ationUpdated(LocationProvider.java:101)
    at com.nxp.telematics.location.AbstractLocationFilter .locationUpdated(AbstractLocationFilter.java:86)
    at com.nxp.telematics.location.TimingFilter.deliver(T imingFilter.java:271)
    at com.nxp.telematics.location.TimingFilter.access$80 0(TimingFilter.java:66)
    at com.nxp.telematics.location.TimingFilter$DeliveryA ttemptTask.run(TimingFilter.java:136)
    at java.util.Timer$TimerImpl.run(Timer.java:207)

    i was check path and all.But its showing same error..
    can anyone help me plz

Similar Threads

  1. Query database
    By asai in forum New To Java
    Replies: 8
    Last Post: 03-17-2012, 05:15 PM
  2. Database Query using Hibernate
    By javababy in forum Web Frameworks
    Replies: 0
    Last Post: 08-02-2011, 12:54 PM
  3. java servlet/Query
    By KumbhaniMehul in forum Java Servlet
    Replies: 0
    Last Post: 04-06-2010, 09:19 PM
  4. Query in database
    By anki1234 in forum JDBC
    Replies: 3
    Last Post: 08-20-2008, 06:45 PM
  5. How to query data from database using SSL
    By mano in forum New To Java
    Replies: 0
    Last Post: 08-02-2007, 06:30 PM

Posting Permissions

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