Joke Collection Website - Blessing messages - Java web project-how to actively send information to the client browser page on the server side, and prompt the information in the pop-up box in the lower right corner of the call.
Java web project-how to actively send information to the client browser page on the server side, and prompt the information in the pop-up box in the lower right corner of the call.
Regarding the request, all this is in line with the client-"; The server, and then the server responds to customer service. The server will not actively send requests to customer service.
In order to achieve the desired effect, if it is similar to instant messaging, you can choose server push technology to let the server actively send messages to customer service. If it is used for email update, you can try round robin method, that is, the customer service side sets automatic refresh and actively visits the server regularly.
Then use dynamic effects to display tips on the page, such as. Set a div, which is hidden at first, and set the location (I forget which value, you can try it all). Then, write a method to set the div display when the message from the server is the message you want.
- Previous article:What should I do if I lose my mobile phone?
- Next article:I want to know how to send wps files to qq.
- Related articles
- The computer is not poisoned. yy always prompts you to log in from different places.
- Admission scores of Yancheng Senior High School Entrance Examination in 2022
- My ex-boyfriend hacked my phone. What should I say to make him sad? I am very angry. I'm not pestering him. I want to send him a short message.
- How to make an appointment with your ex without being rejected?
- How to check mobile phone bill balance
- It is normal for Wumart to grab Maotai and place an order immediately. Why can't you get it?
- How to exchange telecom points for telephone charges?
- Xiaomi can't send an expression by text message.
- Do you want to give a red envelope to your lover during the Spring Festival?
- Will the phone bill be deducted when logging in pumpkin film and television?