Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2006

Tip: Looking for answers? Try searching our database.

Sporadic browser lockup on Applet.shoDocument()

Thread view: 
Ike - 26 Jul 2006 03:18 GMT
I'm having a problem with a client who is running an applet via a
Citrix thin client. The applet routinely has to spawn another browser
window. However, sporadically, when the the applet goes to do this (in the
showDocument() below (gguser is instance of the applet), the browswer (MSIE)
wherein the gguser applet resides sporadically locks up on this line, and
needs to be killed. This is sporadic, and I think the client may even have
tried other types of browsers. Code is below. Any thoughts on this and a
possible solution are greatly appreciated. -Ike

            String surl=
"http://www.ggrip.com/~ggrip/leads.php?uniqueId=-1|-1|12|2006-07-25
Tue|22:09:28|0|1|2022&bb=0&tor=0";
            try{ //THE FOLLOWING LINE IS WHERE THINGS BOMB:
                   gguser.getAppletContext().showDocument(new
java.net.URL(surl),"_blank");
               }catch(java.net.MalformedURLException mru){
                   mru.printStackTrace();
               }
Andrew Thompson - 26 Jul 2006 04:07 GMT
> I'm having a problem with a client who is running an applet via a
> Citrix thin client. The applet routinely has to spawn another browser
[quoted text clipped - 4 lines]
> tried other types of browsers. Code is below. Any thoughts on this and a
> possible solution are greatly appreciated. -Ike
...
>                     gguser.getAppletContext().showDocument(new
> java.net.URL(surl),"_blank");

Does the behaviour persist without the target?

The only thing I can think of, is that there is a clash
with a pop-up blocker installed in the browser.
(Note that even the 'Google Toolbar' is a pop-up
blocker - so the user may have one despite not
realising it.)

Andrew T.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.