title: How do I write a servlet which rotates images?
body: <p>Hi just wanted to share this servlet it takes 2 arguments ( img->  image name , rot ->rotation of the images) loads the image from the images directory rotates it and outputs it to the servlet stream </p>
  
  <p>you can find it in the answer below </p>