Graph drawing using JSP

is it possible to to draw a graph in a web page automatically with results from a database.(using JSP)

Did it took 8 months to solve it?
Anyway, glad you got it fixed.

Similar Messages

  • Graph drawing in JSP

    How can i get my jsp to draw a graph automatically with results from a database. The main problem is tryiing to get the JSP to display a graph. The rest I could probably figure out. Can anyone help me please??????????????????????

    or use JFreeChart. You can generate the chart image in a servlet and use an image HTML tag to show it. Search the forums, I have posted some example of that somewhere.

  • Graph drawing in JS

    is it possible to to draw a graph in a web page automatically with results from a database.(using JSP)

    I suggest that you use servlet to draw the graphics.
    In your jsp, you can call the servlet like this.
    <img src="myServlet" width="100" height="100">

  • How do you plot multiple curves on the same graph when using a while loop?

    I am writing a program that will plot the IV Output chracterisitcs curves for a MOSFET transistor. I have two sweep variables Vg and Vd. For each Vg valve selected, Vd is swept from its start to stop voltage creating a graph for that Vg valve. Both of the sweeps are done using while loops. Ideally I would like to display all of the Vg plots on the same graph while having the ability to do real-time graphing. Can anyone help me figure this problem out? I have attached my program. Thanks!!
    Tammy
    Attachments:
    outputfin2.vi ‏165 KB

    Hi Tammy & Tica T,
    As far as I see it - this thread is a very bad version of already existing bad version......
    http://forums.ni.com/ni/board/message?board.id=170&message.id=127857
    I expected, that an Applications Engineer from NI knows something about  a Transistor and how an Output characteristic looks like !!  Take a look to a typical Transistor Datasheet ( e.g. n-channel MOSFET) - you will see, that there is no relation of ID vs Time like in your example ( values vs time )  but  IDrain vs VDrain at different VGate's ( no relation to Mr. Bill Gates ).
    Find attached a vi, that in general does what you need - drawing of  curves vs x-axis (XY-graph in use)  - in test_sweep.zip.  And that you geet an impression, how it might be done ...... dynamic Output characteristic of a Transistor with Standard Equipment of a Lab ( Scope + Generator + Power Supply ) find in addition a Frontpanel - picture. One of the interesting points here is - the self-heating effect; visible on ch3 of scope - 5µs Pulse is already a very long time...... This measurement was done in order to compare with our own Transistors......... 
    Hope this helps a little bit to understand, what we are talking about.
    Regards
    Werner
    Attachments:
    test_sweep.zip ‏358 KB
    dynamic Transistor char.png ‏65 KB

  • How do i Create charts using JSP/Servlet & Database

    I have to create charts which shows the graph of stock exchange.
    i have a database that keeps the data for creating charts.
    But i did not know how to create charts using jsp-servlet.
    Any Example might help me to go forward.
    Any help will be really appreciated.
    Please Advice me.

    JFreeChart - You can generate the charts then convert them to image formats (PNG and JPEG) all using the JFreeChart API
    http://www.jfree.org/jfreechart/

  • Creating graphs in my jsp

    Can anyone give me an idea of how I could dynamically create graphs in my jsp?
    Any help will greatly be appreciated! Thanks!

    Maybe an easy way is to use:
    http://coldjava.hypermart.net/servlets/bar.htm
    If that is too funky then use:
    http://www.acme.com
    http://www.acme.com/java/software/Acme.JPM.Encoders.GifEncoder.html
    to create your own.

  • I want to make a Graph Drawing Servlet

    I need to make line graphs, having days on the X axis and certain values on the Y axis. I need to show this on a JSP. I was thinking of making a servlet returning the image, but I'm not finding any Java solution for the graph drawing part. I would really like to avoid having to manually draw the graph. Does anyone know a simple way to do this?

    The Google Chart API is pretty simple and powerful.
    http://code.google.com/apis/chart/

  • Signature Capture for pocket pc using JSP or JAVA

    hello,
    i need to find a way using jsp or java enviornment in which i can capture the signature which the user has signed on my pocket pc .....??
    please let me know what is the ideal way of doing so and what is the best way to transfer it securely to the server ??
    i am using a pocket pc 2000 on hp jornada 568... so the solution should be supported by pocket pc internet explorer
    thanks in advance & regards, :-))
    Prithipal

    You mean like a hand written signiture right?
    That's awesome, that's a really cool idea. And it's not very hard to implement at all. A java applet will be your best bet. Use version 1.1.8 or something for compatibility. All you have to do make a drawing surface for the user to sign, then send it to the server in one of a varity of ways. I would use a single bit bit map, pixels are on or off.
    For the security end you could have your server run SSL. I don't know if the pocket PC supports that though. If it doesn't, the RSA algorithm is open now, the patent expired, and there are several nice java packages available that implement it. So you can just have the applet read a public key from your server, encrypt the data stream with it as it sends it backs. That will be impossible to crack. ( use at least 64 bit keys. )

  • Graph Drawing Framework

    I'm looking for a framework to use to draw Graphs (nodes and connecting links). Does anyone out there know of anything already implemented like this... Something like ARGO UML???
    TIA

    Hi!
    Take a look at http://www.yworks.de ! They have a powerful graph drawing framework and API called yFiles.

  • Using jsp:param

    hi,
    i am new to java and jsp programming and i am trying to use jsp:param nested in my
    jsp:forward statement.
    if i specify a value in jsp:param my page would display properly. however when i passed a variable in my jsp:param i get the error:
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\star\jsp\Meeting_CreateMinutes_jsp.java:135: cannot resolve symbol
    symbol : method encode (long)
    location: class java.net.URLEncoder
    pageContext.forward("Meeting_ActionItems.jsp" + "?" + "docno=" + java.net.URLEncoder.encode( carno ) + "&" + "formmode=" + "Add");
    ^
    1 error
    this is the snippet in my jsp page that (i suspect) caused the error:
    <% long carno = newcar.getDocno(); %>
    <jsp:forward page="Meeting_ActionItems.jsp">
    <jsp:param name="docno" value="<%= carno %>"/>
         <jsp:param name="formmode" value="Add"/>
    </jsp:forward>
    my question is : does jsp:param do not accept variables as values?
    thanks in advance.
    best regards,
    noynoy

    <% long carno = newcar.getDocno(); %>Change this part as
    <% String carno = ""+newcar.getDocno(); %>
    Hafizur Rahman
    SCJPhi Hafizur,
    Thanks a lot. It solved my problem on the jsp:param error
    More power!!!
    rgds,
    noynoy

  • How to let the user define the colors for each plots in the graph (I use LabVIEW 7)?

    How to let the user define the colors for each plots in the graph (I
    use LabVIEW 7)?

    Hi,
    Take a look at this example, it uses property nodes to select tha
    active plot and then changes the color of that plot.
    If you want to make the number of plots dynamic you could use a for
    loop and an array of color boxes.
    I hope this helps.
    Regards,
    Juan Carlos
    N.I.
    Attachments:
    Changing_plot_color.vi ‏38 KB

  • Facelet to crare web app, instead of using JSP; JSF1.2 spec in WebSphere6.1

    Novice to JSF and Facelet. But, I had been using Struts since its inception.
    I am required to use IBM's WebSphere Application Server 6.1 that comes with Servlet 2.4 and JSP 2.0. WebSphere 6.1 App Server limits me to using JSF 1.1. This is because, JSF 1.2 requires Servlet 2.5 and JSP 2.1, that is a part of WebSphere App Server 7.0; not a part of WebSphere 6.1.
    Somebody suggested that it will be possible to use JSF 1.2 in WebSphere 6.1, if I were using Facelet, instead of JSP.
    I am not eager to use JSF 1.1 and may have to forego JSF; unless and until I can use JSF 1.2.
    The hold-up is that I cannot use JSF 1.2 spec in WebSphere 6.1. Is there is any way to use JSF 1.2 in WebSphere 6.1? Can I create an entire application using Facelet (instead of JSP) that will let me use JSF 1.2 spec in WebSphere 6.1? If so, how?
    Here are my questions, especially because I am not very familiar with JSF and Facelet technology:
    1. Can I use JSF 1.2 specification in WebSphere 6.1, if I were using facelet (as opposed to JSP) as my view technology?
    2. Will it be possible to create an entire web app with facelt, instead o fusing any JSP at all? If so, how? Does it mean that all the GUI screens will only use facelet and no JSP at all?
    3. Please explain how I can write a complex web app with 100s of screens using only facelet, instead of using JSP.
    4. Please provide pointer on how JSF and facelet differ, or what are their demarcations boundaries.
    Any comment and pointer will be greatly appreciated.

    Don't doublepost. It's rude. Stick to one topic. Continue here: [http://forums.sun.com/thread.jspa?threadID=5335001].

  • How can I  connect to SQL server database thru local network by using JSP?

    I'm currently doing a project by using JSP..And I need to display record from the SQL Server database in our school's local network. May I know how can I do that? How can I write the code so that I can able to access the SQL Server databsase Throught school's network by using JSP? Please tell me step by step how can I do that. I'm using Tomcat 4.1 as Web Server. And I had J2SE and J2EE installed in my computer.

    first you have to establish a ODBC DSN on your computer,
    that connects to the database...you can do that from your control pannel.
    i assume that the TOMCAT server is residing on your computer....(if the webserver is in other computer then you would have to create a System DSN on the data sources ODBC option in the settings>control pannel of that machine)
    then you can use that DSN name to connect to the data base from the class file....for further assistance on how to create the class that access the tutorials in sun site.
    regards
    G

  • How to get the values of an Array using JSP Tags

    Hey guys,
    I need some help. I've splited a String using
    fn:split(String, delim) where String = "1,2,3,4" and delim is ,
    This method returns an Array of splited Strings. how do i get the values from this array using jsp tags. I don't wanna put java code to achive that.
    Any help would be highly appreciated
    Thanks

    The JSTL forEach tag.
    In fact if all you want to do is iterate over the comma separated list, the forEach tag supports that without having to use the split function.
    <c:set var="list" value="1,2,3,4"/>
    <c:forEach var="num" items="${list}">
      <c:out value="${num}"/>
    </c:forEach>The c:forTokens method will let you do this with delimiters other than a comma, but the forEach tag works well just with the comma-delimited string.

  • Report generation using jsp

    I am developing a website using jsp on tomcat.The site required a number of online report generation option from database(mysql).
    My problem is-
    1.how to generate different types of report other than simple html tag embedded within jsp .
    2.How to store all those reports in a file(.txt or .doc).
    N.B I dont want to use any reporting tool.

    Mantosh,
    Have you seen this developer zone article which details accessing Citadel Data using COM+ and ADO?
    http://zone.ni.com/devzone/conceptd.nsf/webmain/725A6C3843F13C8786256EA600633724#6
    Also, this KB article provides more detail on how to access Citadel data using SQL commands and I think will help answer your question:
    http://digital.ni.com/public.nsf/websearch/C7D32F9A59D4637086256A7200692F30?OpenDocument
    --Paul Mandeltort
    Automotive and Industrial Communications Product Marketing

Maybe you are looking for

  • Windows 8.1 Bootcamp wont Sleep or adjust Brightness

    Hey Guys, I installed windows 8.1 via bootcamp onto my 2013 rMBP, 16gig Ram, Upgraded Processor, and I have two issues with it. 1. I cannot adjust my screen brightness, which is manageable but annoying. 2. It wont go to sleep. There isnt an option an

  • Has anyone else noticed their macbook air (11-inch, Late 2010) fan running constantly?

    Since i updated to 10.8.4, i've noticed the fan is running almost constantly on my Macbook Air (11-inch, Late 2010) and the computer gets very hot. I looked in Activity Monitor and saw that both Safari and Finder were using CPU, but it's by no means

  • SQL Loader, CLOB, delimited fields

    Hello. I have to load using SQL Loader data from csv file into table, which one field is CLOB type. Here is how ctl file initially looked like: UNRECOVERABLE LOAD DATA INFILE '.\csv_files\TSH_DGRA.csv' BADFILE '.\bad_files\TSH_DGRA.bad' DISCARDFILE '

  • Repair Permissions: uh oh

    Determining correct file permissions. Group differs on ./Private, should be 80, group is 0 Permissions differ on ./Private, should be drwxrwxr-x , they are drwxr-xr-x Owner and group corrected on ./Private Permissions corrected on ./Private Group dif

  • Looking for / adding a html logo to website

    Hi there, I'm looking for the html code for a flashing logo (ideally simulating neon) so that I can add it to my iWeb page that I am making for my music. Does anyone know if this is possible and have any advice or ideas on how I could achieve this? I