Hello!

Developed an HTTP server that can receive and return requests (Request and Response), the server can do additional tasks ...

Now I want to build a web application on java and test my server.

Can I create a web application with servlets and WebContent in the usual way and use my server instead of Tomcat or GlassFish?

Thank you in advance!

  • @Chubatiy does not need to issue a code that is not a code. - Nick Volynkin

1 answer 1

Full You just need to create a web application and run it on the server.

About creating web applications you can read here .

  • So the server is already enough. I mean, if I launch it and in parallel I visit any page, everything is already working and the server is already processing the information for processing, and you want to say that if I create my mini website and start my server, it should react and localhost? ... Thanks in advance - morris
  • @morris, you know. If you start the server separately and your application separately, then they will work separately from each other. The server has a directory that stores web-projects. You, accordingly, place your application in this server directory, and then start the server itself. So it works on Tomcat, GlassFish and other servers. But, since you have your own server, you should know better how to launch your application on it. - Artem Gafarov