vivien siu

Ranch Hand
+ Follow
since Nov 10, 2005
Merit badge: grant badges
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by vivien siu

hi guys, one of my webpage links is directing me to a Reuter's page. However Reuter required me to get a session id by type in the user name and password in a windows Authentication Screen.

To make it easy for my users, I need to somehow get the session id without having to let my users manually key in the user name and password everytime.

Is there a way to hardcode the username and password in jsp or program for the Windows Authentication part? IE has disabled http://username [email protected], so i can't use that method anymore.
17 years ago
hehehe, it was solved, turned out that this javascript function openNewWndOrFocusExisting() opens the URL inside a frame! After the frame code is commented out then it worked. =)

didn't find any frame-breaker script inside the iFrame though, but it sure is an eye opener! Thanks!
Then does the error has anything to do with it being a .nsf page?

Also, is there any special handling/parameter in the javascript when opening a new window of iFrame pages?

oh ya, I forgot to mention that the iFrame is in an external page, so I can't make any changes related to the iFrame.
[ October 10, 2007: Message edited by: vivien siu ]

the url is http://intranet.my/apps/myh/circulars.nsf/AllbyDate?OpenView, inside this url there's an iFrame. When load the page, contents will appear for a second but after that it will be "overlapped" by the iFrame.
[ October 10, 2007: Message edited by: Bear Bibeault ]
hi all, I have a problem to display pages with iFrame. I'm using javascript openwindow function to open the link in new window.

At first few seconds the page looks fine, then it suddenly changed to display the page's iFrame only.

The same function works well if the link doesn't use any iFrame in the page.

Any idea how I can make the iFrame display along with the contents in a new javascript open window?
Adrian... I have to similar problem too...

I spend 8 hours installing a new Websphere Portal 6.0.0.0 + applying latest fix pack later...

Did some testing on deploy some application to the App Server... it total died now... have you solve the problem yet? mind to share your experiences?
18 years ago
Yeah guys, I finally solved it. The code won't work properly because the file name I passed into new ZipEntry() is a whole file path instead of name only. This actually caused it to reference the file path instead of creating it inside the zip file. Which is why my zip file still have a size but has no contents inside.

Anyway thanks a bunch for your help guys!
18 years ago
Hi Paul,

I didn't get any exceptions. The zip file generated even has a size bigger than 0kb but there's nothing inside. Weird?
18 years ago
Dear Keith,

Can you please check whether anything's wrong with my code? Please? I just want some verification on that.
18 years ago
Hi does anyone have the same problem here? Does your zip file has any files in it after you create them using java.util.zip?
18 years ago
Hi Paul here's the code:

18 years ago
Hello, I used java.util.zip to create zip files. What I noticed is that if I try to open the zip file by double click on it, there's nothing inside.
Also if I try to extract it manually (right click and choose extract), it will encounter error.

Has anyone encounter this before? This is so weird because the code I used is the common ones you can find on the internet.
18 years ago
Thank you so much Paul
18 years ago
Hi Henry, Tim is right about the boolean for fout, I mean the append argument for the constructor, sorry about the lack of info.

Thanks guys, I think I'll use a workaround to get what I want.
[ December 22, 2006: Message edited by: vivien siu ]
18 years ago
Hi Paul,
tried using the following code:

inside the properties there are a few keys and "test" is one of them, if I set fout to true, it will append the whole properties file below without the removed key. But if I don't set fout to true, all the keys and values wil be removed.
Actually I want the original file to be updated. Is it I need to use a workaround, say, store it in a different fout file after removing the key, and then delete the fin file, then rename the fout file to the fin file?
18 years ago