1. my project is using Spring, and it call specific java method, then the page will be loaded, how can i defect if the user is first time logon, if yes, then prompt a popup window when load, the popup window will close when user click on "Close" button.
2. when user re-visit / refresh the page, the page will NOT prompt popup window when they re-visit after logon.
how to write in Spring project with jsp?
the following is my jsp popup window coding...
------------
<body>
<style>
.modal {
display: block;
position: fixed;
z-index: 999;
padding-top: 100px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
}
</style>
<div id="Dialog" class="modal" tabindex="-1" />
--------------------------------------------------------------------