I'll read your article, but I do understand that JSP are executed on the server to generate the HTML code sent back to the user's browser. But we don't use plain HTML pages in our web application. Even if sometime it is use as much as it was a plain HTML page. I'm not responsable for that sort of design, I'm just maintaining it and adding new features.
Umm Leinad, let's put it this way: A browser doesn't know what is a JSP (or ASP/PHP/Ruby whatever), it can show only HTML.
A JSP page has HTML content interspersed with scriptlets/expressions/JSTLs which are executed on Tomcat to create HTML content, which is sent to browser. So in the end, our humble browser gets to see just the HTML stuff which it dutifully renders!
Bear Bibeault wrote:It's plain HTML by the time it reaches the browser. If you understand that, then I'm not sure that I understand your question.
Our web application is used for creating, storing and editing informations about schools. When the user is creating or changing information, there are automatic operations done on the data. If everything is correct, the status of the school will be in valid state. But in specific case, it will be invalid.
I must be able to intercept an event like "Before Closing".
Sidd Kulk : So, you think I could intercept the events by using the mouse pointer events ? That means I should detect if the cursor is at the top right corner of the screen and if the mouse left button is down.
That sounds interesting. Could you tell me more about that ? The problems I'm seeing are : Can we know the browser's resolution ? How to calculate the space for the button ? How to handle the tabs in FireFox and Internet Explorer ? They can close the application too.
Thank you all for your help, and I'm sorry to have post that message in the wrong forum.
I've look to some examples, and it doesn't seem to be able to detect the pointer when it is outside of the document ?