title: How to draw a rectangle in a browser page using java and jsp?
body: <p>I'm pretty new to jsp-java in practice.
  I'm trying to write a script that allows users to draw a rectangle by clicking and dragging with the mouse.
  But, what i really don't understand is : is it possible to draw a rectangle without building a support like a window Jpanel or JFrame because i want a display on a webpage not a on new opened window.
  How this rectangle will output on a browser's page ?
  How to switch from a java desktop application window to a webpage window ?
  I don't want the users have to open a new window application, it will be cool that the users can directly draw their rectangle using their mouse in a webpage.
  Sorry for some repetitions, i was just trying to be as clear as possible as i just begin in all that stuff !
  Thanks in advance!</p>