On May 4, 2009, at 9:00 AM, vasudevan chandiramohan wrote:
If I open the .pcap file through javascript,
What do you mean by "open the .pcap file through Javascript"?
it opens in Notepad
...so you're on Windows.What happens if you double-click on the .pcap file? Does it get opened in Wireshark?