Developing a Personal File Manager
In this section, we will build a Web-based file manager that enables users to upload and manage files. This will be useful when a user adds items for listing and wants to add images and links to the listing description.
In AuctionStation, every user will be provided a space on the Web server where they can upload and browse files for his or her personal use. You can create a top-level directory, users, in <jakarta-tomcat>\webapps\AuctionStation that holds all the user directories. Each user will have a directory named with his user ID within the users directory. You don't have to manually create the directories for each user—they will be created the first time the user attempts to upload a file or browse ...
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.