GeeCON Prague 2014*
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
Author

Open a VCalendar file on the fly

Jeppe Sommer
Ranch Hand

Joined: Jan 07, 2004
Posts: 270
Hello,

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 (http://127.0.0.1:8080/myApp) 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 ]
 
GeeCON Prague 2014
 
subject: Open a VCalendar file on the fly