This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Folder structure view in JSP

 
Anand Gondhiya
Ranch Hand
Posts: 155
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you coded so far?
 
Anand Gondhiya
Ranch Hand
Posts: 155
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 155
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 155
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic