BEGIN:VCALENDAR
PRODID:-//Food Service Enablers, Inc.//Food Service CRM MIMEDIR//EN
VERSION:2.0
METHOD:REQUEST
BEGIN:VEVENT
ORGANIZER:MAILTO:mgriffin@fsenablers.com
DTSTART:20090120T170000Z
DTEND:20090120T173000Z
LOCATION:Here is the location
TRANSP:OPAQUE
SEQUENCE:0
UID:#CreateUUID()#
DTSTAMP:20090120T164026Z
DESCRIPTION:When: Tuesday\, January 20\, 2009 12:00 PM-12:30 PM (GMT-05:00)
Eastern Time (US & Canada).\nWhere: Here is the
location\n\n*~*~*~*~*~*~*~*~*~*\n\nHere is the body
SUMMARY:Here is the subject
PRIORITY:5
CLASS:PUBLIC
BEGIN:VALARM
TRIGGER:PT15M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR
context = getPageContext();
context.setFlushOutput(false);
response = context.getResponse().getResponse();
response.setIntHeader( "expires", 0 );
response.setHeader( "pragma", "cache" );
response.setHeader( "cache-control", "maxage=3600" );
out = response.getOutputStream();
response.setContentLength(ArrayLen(downloadData));
out.write(downloadData);
// out.flush();
// out.close();