Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

How to get rid of opening extra Excel window in JSP

Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Everybody,
Could anybody suggest me some solution for my problem decribed below
I have one JSP application, which writes to MS Excel file, and display it into browser.
The sample code to do this is here…
---------- CODE STARTS HERE----------
<%@ page import="com.f1j.swing.JBook" %>
<%@ page import="*" %>
com.f1j.swing.JBook f1 = new com.f1j.swing.JBook();
f1.setText(0, 3, "My Sample Excel Application");
f1.write(response.getOutputStream(), new;

}catch(Exception e)

---------- CODE ENDS HERE----------
This code work as expected. The problem is that it opens an extra excel window. I want to get rid of this. I want to display data on Excel without opening other extra Excel window.
Can anybody help me to sort out this problem?
Wait for it ... wait .... wait .... NOW! Pafiffle! A perfect tiny ad!
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic