I use JSP and Tomcat. It is necessary to replace the call http://localhost:8084/LDB/?user=drt with http://localhost:8084/LDB/drt . How to do it?

    1 answer 1

    What you are asking is called address rewriting (URL rewrite). This can be achieved in at least two ways:

    • Create a filter or take ready for example here.
    • Configure rewriteURL on a proxy server if one is planned ( Apache , nginx or other)