Results 1 to 3 of 3
  1. #1
    Marco1996 is offline Member
    Join Date
    Apr 2017
    Posts
    1
    Rep Power
    0

    Default Servlet average line image

    hello, I have to develop a web application where users can draw geometric figured and save it on the server. to develop this function I use html canvas. after drawing I have to develop a servlet that takes all the photos of users and return an average image of all shape. For example if 10 users draw a circle I want back an Image that contain the average circle painted. How can develop a servlet like this? Thank you all

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    13

    Default Re: Servlet average line image

    Quote Originally Posted by Marco1996 View Post
    How can develop a servlet like this?
    This takes two programs. A client program and an a server side to process the submissions.

    So write the client side to allow users to draw the images and submit them to the server.

    Then write the server side to process the images and store or send them somewhere.

    Thank you all
    You're welcome!

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    26

    Default Re: Servlet average line image

    Even before thinking in terms of a server, I would ensure I had an algorithm and functioning code to do whatever calculation you plan, and ensure that works.
    You don't need anything other than the sort of data you are expecting from the users.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Geting image from a servlet in a jsp
    By Dreaming in forum New To Java
    Replies: 23
    Last Post: 01-24-2012, 09:51 AM
  2. Image Upload use Only servlet and jsp
    By RaviGupta0709 in forum Java Servlet
    Replies: 2
    Last Post: 05-31-2011, 06:49 AM
  3. How to upload image in jsp/servlet
    By ibhaviik in forum Java Servlet
    Replies: 11
    Last Post: 11-16-2010, 11:32 AM
  4. sending image file from JSP to Servlet
    By ravian in forum Advanced Java
    Replies: 2
    Last Post: 01-10-2008, 02:34 PM
  5. I need help with my java servlet homework(average)
    By jellyfish888 in forum Java Servlet
    Replies: 2
    Last Post: 12-23-2007, 09:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •