I have implemented an automated email system where the email would be sent to the user's inbox where the user will click on the link to be able to navigate to the complete page.
This is the url which is already hard coded in my local.
http://localhost:8080/reqman2/faces/pages/viewRequest.xhtml?requestID= 20
But tomorrow it might be changed to http://C008.abc.com:8080/reqman2/faces/pages/viewRequest.xhtml?requestID= 20 or anything else as per the requirement.
I want this localhost be changed to c008.abc.com or any other name programmatically. Please let me know and guide me through the best solutions could be. Thanks.