');
122: htp.p('');
124: htp.p(fnd_message.get||'');
125: htp.p('
');
126: htp.htmlClose;
926: V_FuncCode VARCHAR2(20) := 'AP_WEB_DOWNLOAD';
927: V_FileName VARCHAR2(100);
928: BEGIN
929:
930: IF (AP_WEB_INFRASTRUCTURE_PKG.ValidateSession(V_FuncCode)) THEN
931:
932: V_FileName := ICX_CALL.decrypt2(P_FileName);
933:
934: -- Bug 899146:
934: -- Bug 899146:
935: -- To avoid using http directy, we need to call the
936: -- FND_WEB_CONFIG library to be sure we use the right protocol.
937: OWA_UTIL.Redirect_URL( FND_WEB_CONFIG.WEB_SERVER ||
938: substrb(AP_WEB_INFRASTRUCTURE_PKG.getCSSPath, 2) ||
939: V_FileName);
940: END IF;
941:
942: EXCEPTION
2046: -- which seems to have some problems...
2047: debug_info := 'Getting Date Format';
2048: l_date_format := icx_sec.getID( icx_sec.PV_DATE_FORMAT );
2049:
2050: -- l_date_format := AP_WEB_INFRASTRUCTURE_PKG.getDateFormat;
2051: debug_info := 'Getting FND Message';
2052: FND_MESSAGE.SET_NAME('SQLAP','AP_WEB_INVALID_DATE');
2053: debug_info := 'Setting FND Token';
2054: FND_MESSAGE.SET_TOKEN('format', l_date_format);