GeeCON Prague 2014*
The moose likes Servlets and the fly likes how can I control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "how can I control "excel" when I use setContentType("application/vnd.ms-excel")" Watch "how can I control "excel" when I use setContentType("application/vnd.ms-excel")" New topic
Author

how can I control "excel" when I use setContentType("application/vnd.ms-excel")

bjz76
Greenhorn

Joined: Nov 22, 2001
Posts: 2
I am working with web print.I want to use setContentType("application/vnd.ms-excel") to open the jsp file with excel
but How can I control "excel" in my jsp file?
thanks!!

------------------
I believe I can fly!
Fly with me,my Angel!


I believe I can fly!<BR>Fly with me,my Angel!
Gerry Giese
Ranch Hand

Joined: Aug 02, 2001
Posts: 247
Not sure what you mean by "control". Please explain what you want to do with your output. Here's an example test I did a while back:


CJP (Certifiable Java Programmer), AMSE (Anti-Microsoft Software Engineer)
Author of Posts in the Saloon
 
GeeCON Prague 2014
 
subject: how can I control "excel" when I use setContentType("application/vnd.ms-excel")