Two front-ends (Users and Admins)

Hi people! I’m new in the forum.
I have a doubt… I want to do an application where Admins and Users have your own login view…
For example…
localhost/myApp/login for Users
and localhost/myApp/admins/login for Admins

How can I do this?
I don’t know if this is with @WebServlet (for Servlets 3)

Can you help me?


Is it a problem if you have a single login page & have a checkbox in it which says “login as Admin”? it would be more maintainable and easy to access the login view

to show different pages.

A different approach would be using the