• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

applet communicating with host server

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
i am working on a web application in which a user can select an item(say a T-shirt) and can decorate on that item(simply by adding some text or image on it).For this we are using an applet and calling functions on it with javascript. When we select an item, the image of the item is loaded in the applet and all drawing is done on applet. After drawing i want to save the state of the applet as an image(probably in database). Please guide me, what can be done related to it or what strategy can be used regarding saving the state of the applet.Thanks
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Using an HTTP POST would seem to be a natural way, given that this is a web application.
 
Abhishek Yadav
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually i am looking for how to save the image generated in applet(modifying the background image by writing some text on it) to be streamed back to the host server and save it as an image in the database.

Thanks
Abhishek Yadav
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, and HTTP POST is a good way to do that (unless there are other ways to access the server that you haven't told us about).

Or is the problem the storing of the image in the database?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic