Subhash Yadav

Greenhorn
+ Follow
since Feb 09, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Subhash Yadav

Hello,
I am creating a chat application where in I need to create a list of online users. So I have used ServletContext and added a map to it using context.setAttribute() method. this map takes 2 arguments, session.getId() and username (through database). Since I have added this map to ServletContext , it is available to all sessions (please correct me if i am wrong). the overall idea is, when a user log-in he is authenticated and his name and session id is passed as argument to the map and the map is made available to the jsp page (using context.getAttribute). However when I implement this it returns the username and session id of it's only and not of other users who are logged in earlier.
thanks
11 years ago
I am creating a application where a purchase manager purchases certain commodities on a given date. So, I have created a table with 2 columns (date and items).
Now, my problem is that purchase manager can purchase multiple items i.e; items keeps varying, say on 8th march- 10 items and on 9th march - 5 items. How should I create columns where items keep varying.
Thanks
11 years ago
Thanks for the reply.
I am creating a chat application where users can communicate in group. So what is the way that more than 2 people would communicate. In short, I want to exchange information between two or more sessions. So what is the way to achieve it. thanks.
11 years ago
do we require a Socket connection to create chat application in JSP?
11 years ago