how action URL can be constructed dynamically. I have above URL in JSP and it is working fine in the local system.
http://localhost:8080/<projectname>/escSave.html
what needs to be added to work in all environment.
/server-dev.domain.com/<projectname>/escSave.html
Help me understand to fix.