Hi,
I have a client written in java applet and it listens for responses on http: //localhost/CardPager.


Now, I have a server code written using jsp servlets and a webpage for a user
where I can write a message in a textbox and press the send button, the text message should go to the client.

1. Can someone tell me how do I go about writing this?

2. My next question is suppose I have many client applets running. Each of my clients have a unique ID to them. I want to send the message only to a set of IDs. How to do this.

I hope my questions were clear.

Thank you.

Recommended Answers

All 2 Replies

You have to create a unique id (token), which (token) must be travel across the network with each request & response.

Hmm.. So, can you be more specific like which Java classes I should use to create the token etc.

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.