aspose file tools*
The moose likes JSP and the fly likes organization chart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "organization chart " Watch "organization chart " New topic
Author

organization chart

Daniel Silva
Greenhorn

Joined: Nov 10, 2003
Posts: 9
Someone know one way to build organization chart with jsp.
cheers
Daniel S.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

Since JSP is a templating technology for generating HTML pages to send to the client browser, it's probably not going to be much help to you unless you already know how you want to express your org chart using HTML.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30764
    
156

If it only has to work in IE, you can do something with SVG (standard vector graphics.)


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Daniel Silva
Greenhorn

Joined: Nov 10, 2003
Posts: 9
I'll read informations from database and build it dinamic, if someone have a ideia to facilite this I'll be very happy...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

How do you intend to "draw" the chart?
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
why abuse JSP for something it's not meant for?
What you want to do asks for a servlet to generate in some way a graphic depicting the org chart.
You might call that servlet from a JSP or a static page of course, but it's pretty pointless creating the chart inside a JSP as JSP is meant primarilly for text output not binary output and certainly not for executing business logic like extracting and interpreting database data (showing simple query results is fine IMO, but that's where it should stop).


42
 
jQuery in Action, 2nd edition
 
subject: organization chart