@divyas70997717,
The Link Checker validates both internal links and external links; therefore if the link cannot be resolved by the AEM publisher, then the link can go missing ubt the text link remains.(MABYE the JSP is not whitelisted for the AEM publish server)
External links are validated for syntax and by checking their availability. This check is done asynchronously at a configurable internal. If the Link Checker finds an external link invalid:
- It is removed from the publisher. The text of the link remains, but the link itself is removed.
- It is shown as a broken link in the authoring interface.
documentation: https://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/external-link-checker.html?lang=en#external
On your local development environment, in the AEM publisher, you can try to disable the link checker, and your links should not be tampered with.