This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am reading the Sybex study guide, and there's a section that covers Path Elements: Request URI = contextPath + servletPath + pathInfo and the following examples were given: Request path: /games/tictactoe/welcome.html -Context path = /games -Servlet path: /tictactoe -Path info: /welcome.html Request path: /games/registration/StartServlet -Context path: /games -Servlet path: /registration/StartServlet -Path info: null Request path: /games/Search/1234?query=Yamaha+R6 -Context path: /games -Servlet path: /Search -Path info: /1234 I am wondering if there's an easy way of telling which path is which. For example, in the last example, can it also be Context path: /games/Search, Servlet path=/1234 and Path info=null? How can one tell the servlet path from the path info? Thanks, Adrian