Rijutha Natarajan

Greenhorn
+ Follow
since Apr 09, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Rijutha Natarajan

Hi,
I have written a very simple socket connection program where the client is the android mobile and the server is a PC. I have added the uses permission internet in my manifest file. Even after this am getting a java.net.socketconnectionrefused error.
the socket program i use works fine as a ordinary java application.
13 years ago
Thanks a lot. I will try it and get back
I am trying to implement a simple scheduler. A priority is calculated based on the arrival time and the resources the user wants. All these information are stored in a database. If the resource is busy, then the user waits until its his turn. When the user is waiting a jsp page displays his position in the queue and other related statistics. This is a dynamic data and I want to refresh this part of the data every few seconds.
I tried the following code in the javascript. 'box' is the class of the div tag containing all the text boxes I want to refresh.
But even this is not working. I am very new to java and jsp, so am not sure if what am doing is right or not.


I have created a jsp page in which I load a set of text boxes with values from the database. I need to refresh this page every 5 seconds. I tried using the meta tag, but it causes logging out. I am guessing its because the session variables are getting destroyed. Could someone please point me in the right direction? Thanks in advance...