This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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).