Do it using Javascript instead.
<button onclick="window.close()">
        Close
</button>

Server's cant send a message to the client to close a browser window.
Another way is to send a response of that javascript or redirect to another
window that has that in a javascript head.
-Tim

-----Original Message-----
From: Rick Col [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 23, 2003 4:57 PM
To: [EMAIL PROTECTED]
Subject: How to implement close button in Struts?


Hi,

I have a "close" button on a page, once user clicks
on this button, the window should disappear. How to
do this in Struts?

regards 

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to