Added code to send pdf download link to tomcat