Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old November 29th, 2001, 06:01 AM
prachi prachi is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 2 prachi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question using servlets for creating images

hello,

I am new to jsp and servlets.....and i want to make graphs using the data available from the server side.......i don't know how to start????..please provide me guidelines or suggestions...how to start with the same?????.....thanx in advance.

Reply With Quote
  #2  
Old December 2nd, 2001, 05:17 PM
kenowhere kenowhere is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 34 kenowhere User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Possible Solution

I'm thinking here, bear with:

You might try an HTML web page that posts to a JSP backend that records data coordinates to a MySQL database. The fancy way of making a graph: allow a Flash .swf file access to the MySQL database, parse the coordinates, and make a graph. You can also make it more complex if needed. If you want, I can research this further and develop this for you if you want; I'll do this for $150. If not, I can continue to give you advice as you need it for free. Thanks for your time.

Devin Hendricks
sitesuwant@sitesuwant.com
www.sitesuwant.com

Reply With Quote
  #3  
Old December 3rd, 2001, 04:37 PM
ehsiung ehsiung is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Pittsburgh, PA
Posts: 3 ehsiung User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
How about using SVG? Here's more info:
SVG

Reply With Quote
  #4  
Old December 4th, 2001, 02:46 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,711 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 6 Days 4 h 53 m 59 sec
Reputation Power: 259
Try on www.hotscripts.com you might find some class or bean (I don't know what they are.

Reply With Quote
  #5  
Old December 23rd, 2001, 01:35 PM
oscagne oscagne is offline
Java Developer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 5 oscagne User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Have you tried creating an AWT of Swing image then using a GIFEncoder(there are a couple of freeware ones available) to write it directly to the output stream (being sure to set the content type to "image/gif" ?

I did this a while ago, and it didn't seem too tricky

Reply With Quote
  #6  
Old December 24th, 2001, 01:41 PM
a_developer a_developer is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 0 a_developer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Another way is to launch an external process that generates image files, write the dataset & other information into its standard input, then pick up the stream of bytes at its standard output and output them with content type "image/gif" or "image/png".
Read up on java.lang.Process and java.lang.Runtime on how to use system processes.
There are a number of image-rendering packages available, e.g. Gnuplot, Ploticus.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > using servlets for creating images


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway