It's not a secret anymore!
The moose likes JSP 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 » JSP
Bookmark "how can I control "excel" when I use "application/"?" Watch "how can I control "excel" when I use "application/"?" New topic

how can I control "excel" when I use "application/"?


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

I believe I can fly!<BR>Fly with me,my Angel!
Matthew X. Brown
Ranch Hand

Joined: Nov 08, 2000
Posts: 165
In my experience with excel- excel will pick up tables in your code- so you set the mime type to excel, and then you code html- using html tables- colors schemes will even be picked up by excel as well. I'm not exactly know what you mean by control, but without the use of some java-excel integration-via JNI or microsoft java- you are limited to the amount of control that you can obtain.
I agree. Here's the link:
subject: how can I control "excel" when I use "application/"?
It's not a secret anymore!