E
epicwinter
I work with a large application that we do a lot of reporting for by
producing pdfs using jasperreports. Additionally we are currently
adding a mini document manager that allows users to associated
documents with data (word, excel, whatever). Storing these documents
is easy but I am trying to figure out a cross-platform manner to view
them. I see a lot of threads of people trying to display pdfs without
much luck except by using exec on adobe.
The only method I can think of is to have a preferences file that
associates a file type with a executable .doc = msword.exe, .pdf =
acrobat.exe, etc. But I find this to be rather cumbersome, especially
when all operating systems seem to have default file handlers built in
already. When you click on a pdf on your linux , windows, or mac box
it automatically pops up the default application. So what I am
wondering is if there is a way to invoke this default handler from a
java application cause I sure don't want to rebuild the wheel???
producing pdfs using jasperreports. Additionally we are currently
adding a mini document manager that allows users to associated
documents with data (word, excel, whatever). Storing these documents
is easy but I am trying to figure out a cross-platform manner to view
them. I see a lot of threads of people trying to display pdfs without
much luck except by using exec on adobe.
The only method I can think of is to have a preferences file that
associates a file type with a executable .doc = msword.exe, .pdf =
acrobat.exe, etc. But I find this to be rather cumbersome, especially
when all operating systems seem to have default file handlers built in
already. When you click on a pdf on your linux , windows, or mac box
it automatically pops up the default application. So what I am
wondering is if there is a way to invoke this default handler from a
java application cause I sure don't want to rebuild the wheel???