C # client POST communication with the server (Servlet programming)

Source: Internet
Author: User

!! = This is a simple question ~~~~~

In the development process where the C # client and Servlet are the server, when the client communicates with the Java Server, the message is transmitted to the server through POST, the server should pay attention to the following points when receiving the Servlet doPost method:


Microsoft usually treats the path without a suffix as a folder, and the servlet does not have a suffix at this time. The compiler will regard it as a path and report an error or skip it without sending a message.

The processing that needs to be done is to replace the servlet address with a suffix. Here I am using jsp or a servlet can be any suffix. As shown in


② The configuration file of the server segment needs to be adjusted through the 1 change, as shown in




Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.