Home > Software engineering >  how to use frontend code (html , css) alongside jax-rs in eclipse?
how to use frontend code (html , css) alongside jax-rs in eclipse?

Time:05-31

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 ...).

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?

I'm using eclipse and resteasy.

Please if anyone has any idea on this, help me.

CodePudding user response:

What you are looking for is a frontend framework. Eclipse is not a programming language it is just and IDE so that does not matter within the context of your question. You have to ask yourself what language do you want to use for your backend and which framework fits for your frontend. If you are using java a good start is to use springboot as a framework, this is a good starting guide. But if you have no experience with frontend so far I would suggest that your first build a basic website just with plain HTML, javaScript and CSS to understand the basics before adding a framework on top.

CodePudding user response:

the answer is found. it is done by adding specific attributes to HTML tags.

  • Related