Case Study

Knowing the HTTP protocol is frequently helpful in debugging Web applications. For example, suppose you try to redirect the browser to a different site and for some reason, you get a 404 - Page not found error. Using the Telnet program, you access the Web site and look at the redirect request to see what it's sending the browser.

A developer was working on a Java Web application that wasn't tracking sessions correctly. The application sent a redirect to the browser, and although the browser displayed the new page correctly, the session information was gone. Using the Telnet program, the developer captured the redirect request on the screen and realized that the browser was being redirected to a different URL. The session information ...

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.