| Author |
Folder structure view in JSP
|
Anand Gondhiya
Ranch Hand
Joined: Feb 24, 2004
Posts: 155
|
|
Hi All, I am interested in knowing how to create folder strutcture view in JSP. For ex: Open any folder in window explorer view type. what you see on your left bar is the folder structure I want to create in JSP. Please advise.. Thanks in Advance. -Anand
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
|
|
|
What have you coded so far?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Anand Gondhiya
Ranch Hand
Joined: Feb 24, 2004
Posts: 155
|
|
I haven't started any coding on this page yet as I m not sure How to go about creating folder structure view. Thanks -Anand
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
|
|
The first step would be to write the class or classes that detect the folder hierarchy to be displayed and to store that information in a data structure that can be passed to a JSP for display. Do you have that part written yet? [ December 11, 2006: Message edited by: Bear Bibeault ]
|
 |
Anand Gondhiya
Ranch Hand
Joined: Feb 24, 2004
Posts: 155
|
|
|
Yes. I haven't written that acutal code but I have the psuedo code ready. i.e The data to be displayed in "Folder strutcture view" is ready and will be stored in Tree data structure.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
|
|
OK, so you need a servlet to call that code, and then a JSP that the servlet will forward to in order to display it. What version of JSP are you using?
|
 |
Anand Gondhiya
Ranch Hand
Joined: Feb 24, 2004
Posts: 155
|
|
|
Yes. You are right. I m not sure about JSP version. I m using JDK 1.3 so I believe JSP version must be 2.0 or above.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
|
|
I m using JDK 1.3 so I believe JSP version must be 2.0 or above.
That does not equate. JDK 1.3 is used by many containers that do not support JSP 2.0.
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24057
|
|
|
Please don't post the same question to more than one forum; see our explanation here. I've deleted or closed several other variations of this same thread for you.
|
[Jess in Action][AskingGoodQuestions]
|
 |
 |
|
|
subject: Folder structure view in JSP
|
|
|