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](https://access.redhat.com/webassets/avalon/d/JBoss_Enterprise_Application_Platform-5-Negotiation_User_Guide-en-US/images/99f480b50c00288b0d4521eae84cc970/nt-basic-failed.png)
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](https://access.redhat.com/webassets/avalon/d/JBoss_Enterprise_Application_Platform-5-Negotiation_User_Guide-en-US/images/334e3f5bfd110ff5c149e9b3c3725559/nt-basic-success.png)
Figure 8.3. Basic Negotiation Success
The web page shows some of the information contained within the negotiation token.