Deploying the Application

One of the advantages of using JSPs is that you can create and modify Web applications that are instantly available for usage without having to restart the server. You just need to store the JSP file in the designated directory that holds the HTML pages for your application (see Figure 2.12), and the changes are reflected immediately.

Figure 2.12. Directory structure containing Auction Station's JSP files.

Setting a Directory as the Root in Tomcat

You may want to strip off the AuctionStation identifier in the URL. You would have a lot of redundancy on your hands if you reserve as the domain name ...

Get Java Server Pages from scratch 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.