title: how to use frontend code (html , css) alongside jax-rs in eclipse?
body: <p>I want to write the backend code of a web application which is going to interact with users (registering users, logging them into their panel, and ...).</p>
  <p>my question is that how can I interact with the frontend code? for example, when the user has put all the information needed in order to log in or register, how can I receive this information from the HTML code? how can I set some kind of listener for the time that the user has filled out the form and pressed the, for example, submit button?</p>
  <p>I'm using eclipse and resteasy.</p>
  <p>Please if anyone has any idea on this, help me.</p>