aspose file tools*
The moose likes JSF and the fly likes Problem with IE7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Problem with IE7" Watch "Problem with IE7" New topic
Author

Problem with IE7

Kushagra Bindal
Ranch Hand

Joined: Oct 15, 2008
Posts: 156
Hi All,

I am using JSF in my application. I need to check the close event and at the same time have to remove the session from the application. My code is working fine for the IE6. But in the case of IE7 it remove the session even if I click on the title bar.
I am using following javascript

To made the proper changes I made some changes in the above code but it gives me following error
"Error Traced[line: 28] The content of elements must consist of well-formed character data or markup."

Please suggest me what to do in this case.

Thanks
Kushagra Bindal
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16250
    
  21

If you only have a problem with IE7, I'm surprised. The proper way to specify a URL with parameters is in the following form:


So what you probably want to do is something more like this:


Customer surveys are for companies who didn't pay proper attention to begin with.
Vamsi Mohan
Ranch Hand

Joined: Jun 20, 2009
Posts: 80
Please observe the changes between IE6 and IE7 and change it accordingly in Java Script. It is the problem with Java Script.


VAMSI MOHAN.V
(SCJP5.0, IBM Rational Solution Designer, IBM Rational Architect, IBM RUP Designer)
Kushagra Bindal
Ranch Hand

Joined: Oct 15, 2008
Posts: 156
Hi Tim,

I use this url so that all you can understand that by doing that I would like to forward it to this url.
This url is woking fine for IE6

actually url is smthng like
"SampleServlet?invalidateSession=true"

But this is not a probl to me. My problem is with the js which is not working properly on it.

Please help.

Thanks
Kushagra Bindal
Kushagra Bindal
Ranch Hand

Joined: Oct 15, 2008
Posts: 156
Hi Vamsi,

There are difference in IE7 & IE6.
IE7 js example

I follow this link and got smthng but not proerly for IE7 still.

Please help if having any suggestion.

Thanks
Kushagra Bindal
Kushagra Bindal
Ranch Hand

Joined: Oct 15, 2008
Posts: 156
Is there a way to detect the close(X) button click on the IE7 browser.

Please help if have any solution on the same.

Thanks
Kushagra Bindal
Kushagra Bindal
Ranch Hand

Joined: Oct 15, 2008
Posts: 156
Thanks All for the help. I have resolve the problem.

But I am having one more issue. How to detect tab of the IE7 browser is close. Please suggest.

Thanks
Kushagra Bindal
 
 
subject: Problem with IE7