8.2. Basic Negotiation

The Basic Negotiation servlet tests if the web browser trusts the application server: it prompts the web browser to negotiation and checks if the application server received a negotiation token.
If the web browser failed to send a negotiation token, the servlet displays a web page similar to Figure 8.2, “Basic Negotiation Failure”
Basic Negotiation Failure

Figure 8.2. Basic Negotiation Failure

If the web browser successfully sends a negotiation token, the servlet displays a web page similar to Figure 8.3, “Basic Negotiation Success”
Basic Negotiation Success

Figure 8.3. Basic Negotiation Success

The web page shows some of the information contained within the negotiation token.