Jaya Krishna

Greenhorn
+ Follow
since Jun 13, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jaya Krishna

Actually, I am using struts internationalization. So, when I am navigating my page from one language to another language, the onunload() is getting called. Thats not working for me. I need to execute some statements, when the window is closed. Is there any alternative??
Thanks,
Hi David...
Its for a regular website. but instead of that close button(X), I ll provide a regular close button. I want the user has to exit using that button only.

Thanks,

Hi Ranchers,
I am using window.open() for opening a window.. I want to disable the close button for the newly opened window. What should I have to do??
Thanks in advance.

I hope this will help you..

window.close();
if (window.opener && !window.opener.closed) {
window.opener.location.reload();
}
13 years ago
Try this once.
include the following packages in your action class.

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
13 years ago
Hi,
I am working with struts internationalization. When I am navigating my page from English to Vietnamese. In the first Vietnamese page the script is displaying fine. From the second Vietnamese page onwards it is coming in junk characters. What should I have to do?
Thanks.
13 years ago