Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\webapp\e2e\trace\showresults.jsp
<%-- /* $Header: showresults.jsp 13-jun-2005.21:13:15 mvajapey Exp $ */ /* Copyright (c) 2001, 2005, Oracle. All rights reserved. */ /* DESCRIPTION NOTES <other useful comments, qualifications, etc.> MODIFIED (MM/DD/YY) mvajapey 06/13/05 - ada bug 4427288. mvajapey 03/15/05 - mvajapey 01/11/05 - Add txn name, txn type, txn id to the form. snakai 01/20/04 - fix javascript use of nls string dbrown 05/28/03 - Set charset to utf-8. rmarripa 03/07/03 - remove ERR_OCCUR rmarripa 02/07/03 - change onLoadPlay snakai 01/29/03 - add interface version to recorder call rmarripa 01/17/03 - add context rmarripa 01/16/03 - add target and type */ /** * @version $Header: showresults.jsp 13-jun-2005.21:13:15 mvajapey Exp $ * @author rmarripa * @since release specific (what release of product did this appear in) */ --%> <%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag" prefix="oemjsp" %> <%@ taglib uri="http://xmlns.oracle.com/oem" prefix="oem" %> <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix"%> <%@ page import='oracle.sysman.eml.webapp.e2e.data.TraceConstants'%> <%@ page import='oracle.sysman.eml.chronos.WebsiteConstants'%> <%@ page import='oracle.sysman.eml.chronos.data.TxnRecorderData'%> <%@ include file="/oemNoscript.jspf"%> <jsp:useBean id="showResults" scope="request" type="oracle.sysman.eml.webapp.e2e.data.ShowResultsData"/> <uix:renderingContext id="renderingContext"> <oemjsp:setURLEncoder id="renderingContext"/> <uix:document> <uix:head titleBinding="_emSDK_PageTitle@servletRequest"/> <uix:body onLoad="onLoadPlay()"> <uix:pageLayout> <%@ include file="/oemGlobal.jspf"%> <uix:stackLayout> <uix:contents> <uix:spacer height="5"/> <%--Total Server Breakout Start--%> <uix:header textBinding="header@showResults@servletRequest"> <uix:spacer height="10"/> <uix:switcher childNameBinding="nodeValue@showResults@servletRequest" defaultCase="okNode"> <uix:case name="errNode"> <uix:messageBox messageType = "error" messageBinding="errorMessage@showResults@servletRequest"> </uix:messageBox> </uix:case> <uix:case name="okNode"> <uix:form name="showResultsForm" method="POST" destinationBinding="formDest@showResults@servletRequest"> <uix:formValue name="<%=TraceConstants.PB_RESULTS_DATA_PARAM%>" value=""/> <uix:formValue name="<%=TraceConstants.TXN_ID_PARAM%>" valueBinding="txnID@showResults@servletRequest"/> <uix:button textBinding="SHOW_RESULTS_BTN_TXT@WebappMsgBundle@servletRequest" onClick="showResults()"/> </uix:form> </uix:case> </uix:switcher> </uix:header> <script> function onLoadPlay() { if (recorderCtl.dataready == 1) return; <%! String getUrl = null; String postUrl = null; TxnRecorderData txnRecorderData; String resultsNotAvailMsg; String playmode = null; %> <% txnRecorderData = showResults.getTxnRecorderData(); playmode = "'" + txnRecorderData.getPlayMode() + "'"; getUrl = "'" + txnRecorderData.getGetURL() + WebsiteConstants.TXN_ID + "="+ showResults.getTxnID()+"'"; postUrl = "'" + txnRecorderData.getPostURL() + "'" ; resultsNotAvailMsg = "\""+showResults.getPlayResultsNotAvailMsg()+"\""; %> recorderCtl.trccomp=<%=playmode%>; var str = <%=getUrl%>; recorderCtl.pbget=str; str = <%=postUrl%>; recorderCtl.pbreport=str; recorderCtl.intfvers="1"; recorderCtl.command="PB"; } </script> <script> function showResults() { if (recorderCtl.dataready == 1) { document.showResultsForm.pbPostData.value = recorderCtl.databuffer; document.showResultsForm.submit(); } else { alert(<%=resultsNotAvailMsg%>); } } </script> </uix:contents> </uix:stackLayout> <uix:contentFooter> <uix:pageButtonBar/> </uix:contentFooter> </uix:pageLayout> </uix:body> </uix:document> </uix:renderingContext> <uix:spacer height="1000"/> <%! String objectId= null; String codeBase = null; StringBuffer strBuf = null; %> <% objectId = txnRecorderData.getRecorderObjID(); codeBase = txnRecorderData.getCodeBase(); strBuf = new StringBuffer(); strBuf.append( "<OBJECT id=recorderCtl width=250 height=115 top=0 left=0\n"); strBuf.append( " classid=\""+ objectId +"\" codebase=\""+codeBase+"\">" ); strBuf.append( " <PARAM NAME=\"visible\" VALUE=\"FALSE\">\n"); strBuf.append( "</OBJECT>\n"); System.out.println( strBuf.toString() ); out.println( strBuf.toString() ); %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de