Results 1 to 6 of 6
Thread: servlet an database query
- 12-06-2012, 01:55 PM #1
Member
- Join Date
- Nov 2012
- Posts
- 7
- Rep Power
- 0
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........
- 12-06-2012, 02:05 PM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
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.
- 12-07-2012, 06:30 AM #3
Member
- Join Date
- Nov 2012
- Posts
- 7
- Rep Power
- 0
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.
- 12-07-2012, 06:38 AM #4
- 12-07-2012, 06:43 AM #5
Member
- Join Date
- Nov 2012
- Posts
- 7
- Rep Power
- 0
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.
- 12-26-2012, 08:21 AM #6
Member
- Join Date
- Nov 2012
- Posts
- 7
- Rep Power
- 0
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
-
Query database
By asai in forum New To JavaReplies: 8Last Post: 03-17-2012, 04:15 PM -
Database Query using Hibernate
By javababy in forum Web FrameworksReplies: 0Last Post: 08-02-2011, 11:54 AM -
java servlet/Query
By KumbhaniMehul in forum Java ServletReplies: 0Last Post: 04-06-2010, 08:19 PM -
Query in database
By anki1234 in forum JDBCReplies: 3Last Post: 08-20-2008, 05:45 PM -
How to query data from database using SSL
By mano in forum New To JavaReplies: 0Last Post: 08-02-2007, 05:30 PM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks