wood burning stoves*
The moose likes Servlets and the fly likes Open a VCalendar file on the fly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Open a VCalendar file on the fly" Watch "Open a VCalendar file on the fly" New topic

Open a VCalendar file on the fly

Jeppe Sommer
Ranch Hand

Joined: Jan 07, 2004
Posts: 270

I have stored a vCalendar (v2.0) file in the database and want to open the vCalendar file with Outlook using a link from my JSP page which calls a servlet.

When clicking on the link on my local host ( it works fine and Outlook opens the file and prompts the user for an event reply.

But when clicking on the same link when the application is running on the webserver (http://www.myDomain.com/myApp) it doesn�t work. Then Outlook comes up with an popup-message: "The vCalendar-file can�t be imported".

Is that an Outlook security issue or is it a problem in my code, i.e. the header information or something else?

(I am sure that the file (invitation.ics) works as this file is also sent with an e-mail. And after downloading it I can import it in Outlook.)

[ May 09, 2007: Message edited by: Jeppe Fjord ]
I agree. Here's the link: http://aspose.com/file-tools
subject: Open a VCalendar file on the fly