This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.
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).