title: How to resize the image to be uploaded in JSP to a fix resolution?
body: <p>I am uploading images for my site , I want every image uploaded to the server be of constant size.
  So, when I display them from server to my site they can be uploaded quickly and the images use less server space.</p>
  
  <p>code I am using to upload image using JSP.</p>
  
  <pre><code>logo_name = System.currentTimeMillis() + ".png";
              File  uploadedFile = new File("/www/static.appcanvas.com/"+logo_name);
              item.write(uploadedFile);
  </code></pre>
  
  <p>Any related articles , some hints will be of great help</p>