// JP opened flex table

Click to See Complete Forum and Search --> : How to write a browser application using JSP


HemantKB
December 15th, 2001, 08:54 AM
How to develop a Browser based application that works as a file explorer.[Similar to Windows
Explorer in NT]. It should allow only file list browsing. Opening a file is not required.

There should be a JSP page [explorer.jsp] that lists a particular partition or drive in a browser.When a user clicks the drive name,he/she sees a list of files and directories in that drive. All the directories should be further links and files should not be links.

Hence in the directory structure below, the user first sees C:
On Clicking C:, the user sees WINNT etc.
On clicking WINNT, the user sees system32,os2,ras etc. and so on.

C:
+---WINNT
¦ +---system32
¦ ¦ +---config
¦ ¦ +---drivers
¦ ¦ ¦ +---etc
¦ ¦ ¦ +---disdn
¦ ¦ +---os2
¦ ¦ ¦ +---dll
¦ ¦ +---ras



Implementation:

The application should implement this with 1 JSP page[explorer.jsp] for displaying the Directory structure and 1 servlet [Explorer.java]
that receives all requests from the HTML and sends back the output to the same JSP.

A preferred Application server is Tomcat.

IMPORTANT: There should be ONLY 1 Dynamic JSP and only 1 servlet in this application.

1.2 Point out the changes/extra-classes/JSPs etc required implement the functionality to
delete files from the browser. Please do not implement this feature.

dlorde
December 15th, 2001, 11:31 AM
That's quite a solid assignment. You should learn a lot if you can complete it.

Let us know how you get on.

Dave

//JP added flex table