Generating charts from jsp

Hi there,
i am a jsp novice and i am looking to generate chart using data in a dbase. can anyone point me in the right direction how to use JChart(in jsp) to generate chart from a database? I am looking to generate Barcharts and Line charts.
it is my first attempt and i do not know where to start from. Any help would be greatly appreciated.
thanks
ravikiran
mail : [email protected]

hai man,
will generating of the graphs take time... what will be the execution tie of a graph... for example if i want to generate the work performance of a team from the performance sheet i have and wanted it to be dynamically displayed( how much time it will take) since when I am doing the same in excel it is taking around 5 minutes to display the graph.will it take the same time when i use the technologies that were mentioned here ...
i need ur help is it possible to generate the graphs online with dynamic data.
SUGGEST ME ABOUT PROCEEDING FURTHER..
THANKS
RAVI

Similar Messages

  • Dynamic generate JNLP from JSP ?

    Hello,
    I tried to generate JNLP from JSP, but it just show the Opem/Save diakog and cannot startup the Web Start.
    I am using Tomcat-5.5.12 in WinXP + JDK1.5
    How can I dynamically generate JNLP ?
    Eric

    It will range from easy to rather difficult, depending on how hard you try...
    If you want to do the bare minimum it will require you to code up some JSPs with scriptlets, declarations, expressions, and <jsp:xxx ...> tags, have some server turn them into a servlet for you, and then determine how things like
    <%@ page isELIgnored="false" %> are handled. Things like:
    <jsp:useBean ...> <jsp:setProperty ... > should be rather easy to translate using introspection on the beans they refer to. But <jsp:import ...> and the likes may be more difficult.
    Any normal html code is just wrapped inside a out.println(...) statement. Scriptlets should have the <% %> stripped and coppied to the output. Expressions should have their <%= %> stripped and be added to the surrounding out.println...
    for example:
    <a href="<%=thePage%>">
    should become:
    out.println("<a href=\""+thePage+"\">");
    All the content should be added to a _jspservice method.  Then, things between <%! %> should be coppied to source file as methods.
    Complications come when people start to use custom tags. You will have to learn how to create a PageContext that will be available to the jsp service method.
    You should also look up the JSP/Servlet spec to see how this stuff should be done.
    It is a whole nuther can o worms if the resulting JSP is expected to compile without a server...</a>

  • Generating PDF from JSP

    how would i generate a PDF from JSP.....
    urgent........
    thanks in advance.....
    HELP.........
    senthil

    Use response.setContentType("application/pdf") .

  • WL10 generated servlets from jsp pages

    hi!
    I'm looking for .java servlet files automatically generated from JSP (Weblogic 10). Do anybony know where can I find this files?
    Thanks in advace,
    Bartek

    Well, Servlet and JSP both are server side technologies and both can be used in web applications. You can write web pages using both servlet and JSP. In fact, your JSP pages are converted to Servlet by container while serving requests. However, writing a JSP page is relatively easier and requires minimal Java knowledge.
    When you will develop real world java based web applications you will find that you are writing more JSP pages than servlet.
    In a typical MVC (Model View Controller) architecture a single servlet is used as controller and JSP pages are used to generate web content.
    Thanks,
    Mrityunjoy

  • Generate Chart from PLSQL

    Can somebody show a sample pl/sql code that can generate a SVG chart? there are one or two posts on the subject but it still is not clear on the procedure side
    thanks

    If there's a problem with that package, I suggest you speak to the developer of that package and ask them to investigate.  It's not an Oracle supplied package so you are wrong to look for help here.

  • Forwarding to an xml file from jsp page

    hi
    i am subhash. i have problem in forwarding an xml file from jsp page.
    i have a jsp page in which i have a button. upon click, its form method is triggered and the action is set to "serverpage.jsp". In that jsp page i have to move to an xml file. I would like u to send a sample code also for the same.
    Thank You,
    Subhash..

    Refer to the Generating XML from JSP section.
    http://java.sun.com/developer/technicalArticles/xml/WebAppDev2/

  • Generating JFreeChart Bar chart in jsp

    Hi Everyone,
    I have never worked with charts earlier. I created one demo for generating a bar chart using a java class. I am using awt classes here. Chart was rendered successfully on running this java class. My problem is i want to integrate this class with a JSP, by involving servlets. I tried to do it many a times now but yet not successfull.
    My requirement is, on the hit of 'generate chart' in one jsp, bar chart should be rendered.
    Can somebody plz help???
    Thanks in advance

    Has no update on the problem mentioned. However, you can try elegantj charts. It creates customized, dynamic charts in few minutes.
    Link: www.elegantjcharts.com

  • How to generate Word document from JSP ?

    Hi,
    I want to generate Word documnet from JSP. I am using Neva objects to generate Word document. Now my problem is Word doc generation code works alright as a Java application but when I place that piece of code in a JSP bean it throws an exception. The reason seems to be unavailibility of DLLs and other files of Neva in Tomcat environment. I do not want to use other complex packages like JIntegra, I would prefer any freeware solution. There is not much info. about Word document generation on POI project in Jakarta site.
    Could anyone suggest way out ? Any Java examples doing the same would be of great help.
    Thanks,
    Akash

    Hi Saurabh,
    Thanks for the reply.
    I have tried that too. Problem with that solution is that if you have used CSS in your JSP code MS word does not understand it and generates word doc which is not the same as HTML which JSP otherwise would have generated.
    Akash

  • How to generate Flow Chart from Program Source Code easily and automatically.

    It is very crucial to have a clear mind when faced with abstract codes for software engineers and program developers. As always, the programmers have had an overall structure in your mind and then process the design with source code.  The structure can somehow be so complex that it becomes hard to cope with gradually. More often than not, you will get stuck when you process to some extent. However, codes can’t speak and present themselves in a straightforward way. You are eager to find out a straightforward layout to transfer those abstract codes to visible flowchart, aren’t you? Do you know there's code to flowchart software tools online? This tool can help you make a flowchart from source code automatically, here I will introduce you a great code to flowchart converter software.
    Code Flowchart Creator is professional source code to flowchart software tool. This software is designed for programmers or document writers, and its main function is to generate flow chart from source code such as C, C++, VC++ (Visual C++ .NET) and Delphi (Object Pascal) programming files. It helps users to understand complex program structures by visual diagrams. When users are editing the source code, it can make a flowchart or NS chart according to that code, the source code will be analyzed to build a visible flowchart that can help users get familiar with the process of the program.  The created flowchart can be exported as Visio/Word/BMP files. And it works well on all Windows OS, especially on Windows 7.
    Below is simple guide on how to use the Flowchart Converter. Step 1: Free download the setup file on official website: http://www.flowchart-creator.com Step 2: Install it on PC and startup the Flowchart Creator Step 3: Open a source code file and it will automatically generate the Flow Chart on right Window. Actually, the Flowchart Creator is very easy to use even without any experience. If you want to get more details and advanced setting, please visit the website to get tech info and support.         Moreover, it also provides users with browsing and navigation functions. Those functions will facilitate the process of programmer and come to great help to both senior and junior programmers. The generated flowchart can be used to review source code. It will help examine the whole process of a program and check where errors exist when users are verifying source codes. You will never be worried about the complex program structure with the powerful code to flowchart creator tool.

    Dear Chuck,
    I have used Google and other search engines intensively since years. What I need (and this is why I've opened this thread actually) is a suggestion for a product from someone that has already used it. That could also save me time instead of searching, installing, trying, and eventually deinstalling at random. After all, the forum should allow to exchange knowledge and experience with people having similar interests.

  • Line chart in jsp

    Hai,
    i want to generate a line chart in jsp. can you plz help on this.
    plz dont suggest me any third party tools.
    Thanks in advance.

    Hai,Hie
    i want to generate a line chart in jsp. can you plz
    lz help on this.Yes.
    plz dont suggest me any third party tools.I can and I will: JFreeChart ;-P
    You don't want to use it, that's your perogative, but you'd have to write something yourself. Why would you want to do that when you can just use something that exists? Do you build your own cars from scratch?
    Thanks in advance.you're welcome in retrospect

  • Using ActiveX from JSP or alternative to using Excel

    Hi, I'm newbie in Java, and I have one problem I want to generate Excel Charts from Java, and I don't know if I can call an ActiveX control or COM component from Java, and if it isn't possible I want to know some modules that I can use to generate charts for using it in an HTML web page, thanks a lot.

    Hi, I'm newbie in Java, and I have one problem I want
    to generate Excel Charts from Java, and I don't know
    if I can call an ActiveX control or COM component from
    Java, and if it isn't possible I want to know some
    modules that I can use to generate charts for using it
    in an HTML web page, thanks a lot. There are 2 possibilities:
    1) Use Java <-> Com bridges - there are 2 of them Sun's COM->EJB and IBM's EJB->COM (probably visa-versa). Look at:
    http://www.theserverside.com/home/thread.jsp?thread_id=7588
    and
    http://www-3.ibm.com/software/webservers/appserv/doc/v40/aee/wasee_content/xjb/concepts/cxjbovw.htm
    There are also (I heard) other implementations of ActiveX<->EJB bridges
    2) You could use POI - it's open source http://jakarta.apache.org/poi/
    POI means Poor Obfuscation Implementation - it's really poor... and I'm not sure that it supports charts - though with common sheets it works well.
    Paul

  • Generating charts in batch

    Hi!
    I have the requirement to generate charts/graphs as image files in batch (hundreds of them in one batch). This chart images should be stored in table's blob column or in files on server's file system and later used for viewing on "static" web pages. This batch will be triggerd by cliking on button by a user or without user interaction from scheduler.
    How can ADF charts can be used for this purpose?
    So, is there any Java API for generating charts without GUI (like ChartDirector for JSP/Java http://www.advsofteng.com/cdjava.html)?
    Regards,
    Sašo Celarc
    Edited by: Sašo Celarc on Jun 22, 2011 2:37 AM

    I found the oracle.dss.graph.Graph (http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e12063/oracle/dss/graph/Graph.html). As understood this package exists behind ADF Charts? Am I right?
    Are there any useful examples how to use methods from this package?
    Sašo

  • How to call Crystal Reports10 from JSP?

    Hi!
    I want to generate a crystal report based on the parameters from database which in turn will be taken from jsp page.Can anybody help me on this?
    Thanks in advance!

    http://www.businessobjects.com/products/dev_zone/java/default.asp?ref=devzone_main
    Check their top 5 java downloads for documentation on how it works.

  • Calling web service from JSP

    Can anyone help??
    I'm trying to call a webservice from within a JSP and i havent a clue how its done,
    i have my IF and Impl and Client Coded and my stubs generated and service deployed and running, but i cannot figure out how to call the service from my JSP web-app.
    Any help appreciated!

    Hi ,
    Its easy to call a WS from jsp what you can do is this. Think in manner that u will be keeping the client classes on a particular container, then in same container you can refrence the classes and can invoke service through a jsp..this works in my case.. it depends what kind of client do u want to create may be static or proxy or DII

  • How do i specify the filename for a binary file generated by a JSP?

    I am writing a report generator that has the ability to generate Excel files. The user clicks on a link (exporter.jsp), the page's content-type has been set to "application/vnd.ms-excel" which naturally prompts the user to either save to a file or open directly in Excel.
    It works fine, but requires the user to manually rename the generated file from "exporter.jsp" to "whatever.xls". Furthermore, Firefox will not let you rename the file in save dialog box, it just automatically saves the file as "exporter.jsp", you must rename it from the file browser.
    How do specify the output file name from within JSP?
    Btw, right clicking and selecting "save link as" allows for specifying the file name, but the file that is created is empty.
    Thanks

    You need to set the content-disposition header as well as the content-type.
    here is one article on the subject
    res.setContentType("application/vnd.ms-excel");
    res.setHeader("Content-Disposition", "attachment; filename=" + filename);

Maybe you are looking for