aspose file tools*
The moose likes Struts and the fly likes How to display popup when user is browsing through internet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to display popup when user is browsing through internet" Watch "How to display popup when user is browsing through internet" New topic
Author

How to display popup when user is browsing through internet

nrv praveen
Greenhorn

Joined: Jan 29, 2010
Posts: 6
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.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Well, I didn't get your question. In both the cases, internet or intranet, you need to get authenticated by submitting uer/password in order to access the web app. Also, https://mypay.mycompany.com is subdomain.

And login screen can be obtained by popup window or using simple page, its not Struts or any other framework dependent.

BTW, the login popup might be related to FORM based authentication.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to display popup when user is browsing through internet