Login
Search
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 1
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2008, 11:01 AM
mayuri j mayuri j is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Default

How to set content type before opening PopUp window in Javascript?


I am using following code to open PopWindow as a excel sheet:::---


wind=window.open(open_report,'popup','toolbar=yes, scrollbars=yes,resizable=yes,top=0,left=0,width=70 0,height=700,menuBar=yes');


I want to set ----------
response.setContentType( application/vnd.ms-excel );
so that opened window will show excel sheet.

Can anyone help me for telling
where to set content type.????
I tried to set it in java class also tried in JSP in which I am opening pop up.But after opening pop up its showing data with unreadable format.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can the enum type be used on mysql to store music files..what type can i use on... simeonceesay MySQL 0 05-08-2008 07:59 AM
Can you resize a browser window using ONLY HTML and NOT Javascript? Hartley Designs JavaScript 5 05-07-2008 07:52 AM
content-type perl :S? -=Mizo=- Perl 1 05-06-2008 05:19 PM
content-type perl? -=Mizo=- Perl 1 05-06-2008 01:47 PM
Visual Basic Question - Opening up forms PLEASE HELP? Will Visual Basic 2 05-06-2008 10:00 AM

Your Ad Here

All times are GMT. The time now is 08:46 PM.