When the user tries to browse through a website through local intranet like
https://mypay he will not be asked for any user id and password . But when he tries to browse through internet using
https://mypay.mycompany.com he will be asked for user id and password using a prompt box. How to implement this pop-up scenario when user is browsing the application through internet, in struts.