How to print the page in Javascript
To print the page in Javascript you can use the following snippet. Sample Javascript
How to get the current logged in user in Java
To get the current logged in user in Java you can use the following snippet. Sample Java
How to get the current url in PHP
To get the current url in PHP you can use the following snippet. Sample PHP