This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlets  RSS feed

 
Jayasree, Peddapalle
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all....
I need ur help. See in my project I need to draw a line dynamically on the map which indicates the % of work completed. So for that we need to locate the Coordinates of that point and draw the line. Can anybody help me how to overcome this using Servlets ? I heard that there is some package called JMIJ(I hope i m right that this is the correct name of that package) from Sun Microsystems which allows us to draw lines on gifs/images.
Thanks in advance,

------------------
Jayasree
 
Tim Holloway
Bartender
Posts: 18705
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're expecting a servlet to draw a line on a web page in real time, you don't know how servlets work. This is the kind of thing more suited to applets.
If you are looking for something that when the user refreshes the page, returns a page with a graphic on it (progress bar or whatever), you have to create the graphic as an image file (for example, a GIF or JPG) and then make a reference to it in the HTML code that the servlet generates.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!