The content type for office excel 2007 in jsp page and the mime-type in  we

Hi,
In my system MS Office 2007 is installed. I am trying to generating excel sheets from JSP page by setting the content type "application/vnd.ms-excel" in jsp page and as well as in web.xml file. I am getting the below message
The file you are trying to open, 'xxxxxxxx.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?
Then finally the excel file is opening and displaying properly. If in my system MS Office 2003 is installed , then the above message is not coming.
I have changed the content type according to Excel 2007 <%@ page contentType= "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" %> and in web.xml file the mime type to
<mime-mapping>
<extension>xlsx</extension>
<mime-type>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</mime-type>
</mime-mapping>
even the content type is changed according to office excel 2007 , i am getting the same above message.
My client is asking not to display the above message. So how to prevent that message ?
It's very great if any body reply me as soon as possible.

Hi Akash,
I am not using the POI. I am generating the excel sheet using the below code.
<jsp:directive.page import="java.util.Map" />
<jsp:directive.page import="lehman.ra.Report.ReportDefinition" />
<jsp:directive.page import="lehman.ra.RAUtilBean" />
<jsp:directive.page import="java.util.ArrayList" />
<jsp:directive.page import="lehman.util.GeneralUtil" />
<jsp:directive.page import="lehman.admin.report.AdminHtmlReportFormatter"/>
<jsp:directive.page import="lehman.helper.irprod.IRProdHelper"/>
<%@ page contentType= "application/vnd.ms-excel" %>
<jsp:directive.page import="java.util.Iterator"/>
<jsp:directive.page import="java.util.HashMap"/>
<%
     String strTradeDate = (String) session.getAttribute("TradingDate");
     String sContextPath = request.getContextPath();
     IRProdHelper irHelper     = new IRProdHelper();
     String  sReportFormat  = "E2E";     
     String subtab1 = request.getParameter("subtab1");
     if (subtab1 == null)
          subtab1 ="";     
     Map report_Ids    = (Map) session.getAttribute("ADMIN_E2E_REPORTS");
     AdminHtmlReportFormatter formatter = new AdminHtmlReportFormatter();
     ArrayList contentData = new ArrayList();
     ArrayList headerData  = new ArrayList();
     ArrayList metaData    = new ArrayList();
     Map resultMap            = null;
     String headerString       = "";
     String contentString  = "";
     String reportId            = "";
     int titleSpan         = 5;     
     if( report_Ids!=null && report_Ids.size() > 0){
          Object oReportObj      = null;
          Iterator rowIter = report_Ids.keySet().iterator();
          RAUtilBean raUtilBean = new RAUtilBean();
          ReportDefinition rdef = new ReportDefinition();
          while ( rowIter.hasNext() ){          
               oReportObj = rowIter.next();     
               reportId = oReportObj.toString();
               System.out.println("**************reportId="+reportId);     
               resultMap  =  (HashMap) report_Ids.get(oReportObj);
               if(resultMap == null )
                    continue;
               if(resultMap.size() > 0 ) {
                    contentData          = (ArrayList)resultMap.get(GeneralUtil.CONTENT_DATA);
                    headerData          = (ArrayList)resultMap.get(GeneralUtil.COL_METADATA);
                    metaData          = (ArrayList)resultMap.get(GeneralUtil.METADATA);
                    rdef = new ReportDefinition();                    
                    raUtilBean.setReportAttributes(rdef, headerData, metaData,reportId, sReportFormat);
                    titleSpan = raUtilBean.findMaxCol(contentData, rdef.getDisplayCols());
                    if("51031".equals(reportId)){                         
                         if(resultMap.get("HIDE_ETA")!=null){
                              boolean hideETA = ((Boolean)resultMap.get("HIDE_ETA")).booleanValue();                              
                              formatter.setHideETA(hideETA);
                              if(hideETA){
                                   titleSpan = titleSpan-1;
                    rdef.setMaxCol(titleSpan);
                    headerString = formatter.constructHeadingForE2E(rdef, headerData);
                    contentString = formatter.constructContentForE2E(rdef, contentData, strTradeDate, sReportFormat);
%>     
<html xmlns:o="urn:schemas-microsoft-com:office:office"
     xmlns:x="urn:schemas-microsoft-com:office:excel"
     xmlns="http://www.w3.org/TR/REC-html40">
     <head>
     <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
     <meta name="ProgId" content="Excel.Sheet"/>
     <meta name="Generator" content="Microsoft Excel 9"/>
     <link rel="File-List" href="./Test33_files/filelist.xml"/>
     <link rel="Edit-Time-Data" href="./Test33_files/editdata.mso"/>
     <link rel="OLE-Object-Data" href="./Test33_files/oledata.mso"/>
     <link href="<%=sContextPath %>/llehman.css" rel="stylesheet" type="text/css">
     <link href="<%=sContextPath %>/llcontent.css" rel="stylesheet" type="text/css">
     <style>
     <xsl:comment>
     table
          {mso-displayed-decimal-separator:"\.";
          mso-displayed-thousand-separator:"\,";}
     .style0
          {mso-number-format:General;
          text-align:general;
          vertical-align:bottom;
          white-space:nowrap;
          mso-rotate:0;
          mso-background-source:auto;
          mso-pattern:auto;
          color:windowtext;
          font-size:10.0pt;
          font-weight:400;
          font-style:normal;
          text-decoration:none;
          font-family:Arial;
          mso-generic-font-family:auto;
          mso-font-charset:0;
          border:none;
          mso-protection:locked visible;
          mso-style-name:Normal;
          mso-style-id:0;}
     .xl21
     {mso-style-parent:style0;
     color:black;
     font-size:8.0pt;
     font-family:Arial, sans-serif;
     mso-font-charset:0;
     border-top:.5pt solid silver;
     border-right:.5pt solid silver;
     border-bottom:.5pt solid silver;
     border-left:none;}
     .xl24
          {mso-style-parent:style0;
          mso-number-format:"\#\,\#\#0\.00_\)\;\\\(\#\,\#\#0\.00\\\)";}
     .xl25
          {mso-style-parent:style0;
          mso-number-format:0%;}
     .xl26
          {mso-style-parent:style0;
          mso-number-format:"\#\,\#\#0_\)\;\\\(\#\,\#\#0\\\)";}
     .xl27
     {mso-style-parent:style0;
     background-color:#666666;
     color:#FFFFFF;
     font-size:9.0pt;     
     font-family:Arial, sans-serif;
     mso-font-charset:0;
     text-align:left;
     vertical-align:middle;
     border-top:none;
     border-right:.5 pt solid silver;
     border-bottom:.5pt  silver;
     border-left:none;
     mso-pattern:auto none;
     white-space:normal;
     .xl55
     color:black;
     font-size:8.0pt;
     font-weight:700;
     mso-style-parent:style0;
     mso-number-format:"\#\,\#\#0_\)\;\[Red\]\\\(\#\,\#\#0\\\)";
     mso-pattern:auto none;
     font-size:9.0pt;
     font-family:Arial, sans-serif;
     mso-font-charset:0;
     text-align:right;
     border-top:none;
     border-right:.5pt solid silver;
     border-bottom:.5pt solid silver;
     border-left:none;
     .xlDate{
     mso-style-parent:style0;
     mso-number-format:"yyyy\\-mm\\-dd";
     .xlDateTime{
     mso-style-parent:style0;
     mso-number-format:"yyyy\\-mm\\-dd\\ h\\:mm\\ AM\/PM";
     </xsl:comment>
     </style>
     <xml>
      <x:ExcelWorkbook>
       <x:ExcelWorksheets>
        <x:ExcelWorksheet>
          <x:Name><%=subtab1%></x:Name>
          <x:WorksheetOptions>
           <x:ProtectContents>False</x:ProtectContents>
           <x:ProtectObjects>False</x:ProtectObjects>
           <x:ProtectScenarios>False</x:ProtectScenarios>
          </x:WorksheetOptions>
        </x:ExcelWorksheet>
       </x:ExcelWorksheets>
      </x:ExcelWorkbook>
      </xml>
     </head>
<body text="#000000" style="margin-left:5px;margin-top:5px">
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
              <td>
                   <table  border='0' cellpadding="0"  cellspacing='0' width="100%">
                         <tr class="xl21">
                              <td align="left" nowrap style='font-size:11px;' colspan="<%=titleSpan%>"><b><%=subtab1%></b> -  COB  <%=irHelper.formatDate(strTradeDate)%>  </td>
                              </tr>
                     </table>
               </td>
            </tr>
            <tr>
                 <td> </td>
          </tr>
<!-- Report Processing -->
          <tr>
               <td>
                    <%=headerString%>
                    <%=contentString%>
               </td>
          </tr>
<%
               }//end of if
          }//end of while
     }//end of if report_Ids     
%>          
     </table>
</body>
</html>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Is Rh the Best App for Managing 41 manuals, with many pages being the same?

    I'd like to automate a labor intensive task that I will soon be assuming. We have 41 install manuals for an automotive accessory that fits 41 different models of vehicles. The current manual is 28 pages with at least 24 pages being identical. The documents are done in Word, along many pictures and drawings. When the document is finished, it is converted to a PDF and sent with the item. The pdf is also made available online for folks who may need the electronic version. When we change one page that is common to all, we have to manually update each Word file and then convert it. As you can imagine, the manuals don't get updated and corrected as often as they should
    Since most of the pages are the same, I would like software that can manage changes to these pages and automatically update all manuals. For example, if a change is necessary on page 6 and 34 manuals use this page, I simply change one page and the software "exports" this new page to all affected manuals.
    1) Would Rh do this?
    2) Would it be the best choice for this task?
    3) If Rh is the best choice for this, what is the best approach for beginning this task? Get a book and read or just jump in?
    4) I came across a book written by a firm called GooberGuides, is this a good resource? Do you recommend a better one?
    5) Does my project require a special technique when setting it up in an app like Rh or is the process fairly intuitive? I don't want to waste time by implementing this incorrectly, only to start over again when I realize there was a better way.
    I would be very grateful for any guidance you could provide.
    Thank you.
    Rodger

    I don't think your questions were answered, except for the tool one, which is not the most important one. I would reverse your questions:
    Does my project require a special technique? Yes! Single sourcing, which is a methodology for developing modular, reusable information, not a tool. Before you even approach a tool, you must analyze your content, define standards for it, define information types (Google for DITA), and convert it from linear (as your Word documents are) to modular.
    I have not seen the GooberGuides book, but I can definitely offer these:
    Content Managment for Dynamic Web Delivery - Jo Ann Hackos
    DITA 101 - Anne Rockley, Charles Cooper, and Steve Manning
    Introduction to DITA: A User Guide to the Darwin Information Typing Architecture - Jennifer Linton & Kylene Bruski
    Managing Enterprise Content: A Unified Content Strategy - Anne Rockley
    Single Sourcing: Building Modular Documentation- Kurt Ament
    Tools - obviously since we're on the Adobe forum, Technical Communication Suite must be acknowledged. But you can accomplish single sourcing with several tools. Check out a brief overview of some at http://www.writersua.com/restools.htm.
    Jan Shelton

  • How to display the content of a BLOB column in a JSP page?

    Hi,
    I've a db table with a Blob column which contains an image (".gif" file). I've created a UIX JSP page with the wizard, but I cannot display my image.
    This is my code:
    <%@ page errorPage="errorpage.jsp" contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui/bc4j" prefix="bc4juix" %>
    <%-- Define Application Module and DataSource--%>
    <jbo:ApplicationModule configname="PackageTest.PackageTestModule.PackageTestModuleLocal" id="app1" />
    <jbo:DataSource id="ds1" appid="app1" viewobject="ProvaMediaView" rangesize="1" />
    <%-- Main page contents go here --%>
    <uix:contents>
    <uix:form name="form1" method="POST">
    <uix:labeledFieldLayout >
    <jbo:AttributeIterate id="dsAttributes" datasource="ds1" hideattributes="UixShowHide">
    <%if(dsAttributes.getName().compareTo("Image")==0){
    %>
    <bc4juix:LabelStyledText datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
    <jbo:EmbedImage datasource="ds1" mediaattr="Image" />
    <%}else{%>  
    <bc4juix:LabelStyledText datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
    <bc4juix:InputRender datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
    <%}%>
    </jbo:AttributeIterate>
    </uix:labeledFieldLayout>
    <uix:formValue name="RowKey" value="<%= sRowKey%>" />
    </uix:form>
    </uix:contents>
    and this is the error on running the page:
    oracle.jbo.domain.BlobDomain
    Exception Details
    javax.servlet.jsp.JspException: oracle.jbo.domain.BlobDomain
         int oracle.ord.html.jsp.datatags.ShowEmbedImageTag.doStartTag()
         void Media_Edit._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
         void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
         void com.evermind.util.ThreadPoolThread.run()
    How can I do?
    Thanks in advance.

    Hi,
    I've a db table with a Blob column which contains an image (".gif" file). I've created a UIX JSP page with the wizard, but I cannot display my image.
    This is my code:
    <%@ page errorPage="errorpage.jsp" contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui/bc4j" prefix="bc4juix" %>
    <%-- Define Application Module and DataSource--%>
    <jbo:ApplicationModule configname="PackageTest.PackageTestModule.PackageTestModuleLocal" id="app1" />
    <jbo:DataSource id="ds1" appid="app1" viewobject="ProvaMediaView" rangesize="1" />
    <%-- Main page contents go here --%>
    <uix:contents>
    <uix:form name="form1" method="POST">
    <uix:labeledFieldLayout >
    <jbo:AttributeIterate id="dsAttributes" datasource="ds1" hideattributes="UixShowHide">
    <%if(dsAttributes.getName().compareTo("Image")==0){
    %>
    <bc4juix:LabelStyledText datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
    <jbo:EmbedImage datasource="ds1" mediaattr="Image" />
    <%}else{%>  
    <bc4juix:LabelStyledText datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
    <bc4juix:InputRender datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
    <%}%>
    </jbo:AttributeIterate>
    </uix:labeledFieldLayout>
    <uix:formValue name="RowKey" value="<%= sRowKey%>" />
    </uix:form>
    </uix:contents>
    and this is the error on running the page:
    oracle.jbo.domain.BlobDomain
    Exception Details
    javax.servlet.jsp.JspException: oracle.jbo.domain.BlobDomain
         int oracle.ord.html.jsp.datatags.ShowEmbedImageTag.doStartTag()
         void Media_Edit._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
         void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
         void com.evermind.util.ThreadPoolThread.run()
    How can I do?
    Thanks in advance.

  • JSP page and the pageContext.forward() method

    I am running JSP pages on a coldfusion site so that a CF page (i.e. login.cfm) hosts my login.jsp page. I want to reload the JSP page without having to reload the cfm page each time. pageContext.forward() does do this, however, it only forwards on to a new page. I want to be able to reload a page with the new URL parameters (e.g. when there is an error, login.jsp will reload and give the user an error). What is a method to reload the page with the proper URL variables?
    The following code does not work:
    pageContext.forward("login.jsp?operation=user_edit&jsessionid=" + f_URLEncode(session.getId()));
    Because it runs from the login.jsp page (the forward command only goes to a new page)

    Just to clarify...
    I log into your site. The first page shown is the CF page. The CF page automatically redirects me to the JSP page. Then what, exactly?
    Does the login page automatically determine my URL, attempt to validate it, and if it doesn't work, it reloads the page?
    The reason I ask is because there is a difference between the resulting HTML page and the JSP class file that generates that HTML page. Generally speaking, most web servers, particularly Tomcat, do not recompile the JSP class file, they just simply pass the parameters to the existing class file, and a new HTML page is generated.
    So technically speaking, every time you visit the login.jsp page, you will get a brand new HTML page. The contents of that page are the same because you presumably pass the same parameters to the class which hasn't changed. But in other words, no, you can't forward to an "old" page that was previously generated by the class - each time the web server calls that class, it creates a "new" page.
    Or are you saying that every time you attempt to forward to the login.jsp page, the system erronously calls the CF page instead?

  • When I check the content in a test server I get this: ssl_error_bad_cert_domain and the option to accept, but in a iframe I get the same error but theres not op

    I work in an international company and we have a server farm with 54 servers, so I need check content in all of them for 118 countries, I created a little application to do this and the problem is this:
    When I check the url in the main window I get: "Error: ssl_error_bad_cert_domain" but there is "add exception" option and the problem ends there. But my application loads the pages within an iframe and when I try to load them the error appears but there is not any option to continue.
    Could you tell me please which option of the configuration (about:config) I should change to avoid this, because adding an certificate for every country for every server (6372 certificates) it's not an option for me.
    *Note: The error appears because the dns of such servers have several subdomains and the certificate is not valid for the resultant url.

    Facebook uses such servers to store additional content media files and maybe CSS and JavaScript files.
    Reload web page(s) and bypass the cache.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Cmd + Shift + R" (MAC)
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode

  • The bar icon for downloading that appears next to "trash" and the "bootcamp" icon are gone.   How do I get them back?

    This format confuses me.   I intended to simply ask a question but then this discussion window opened up and my question appears as though it were a topic.
    Can we ask a question without beginning a discussion?   Then I am chided for trying to post a "blank message".   I am only asking a question.   What is all this talk of messages anyway?
    My question is:   The icon next to "trash" that shows downloading is gone.  The bootcamp icon is also gone.   How do I get them both back.
    Thanks

    Welcome,
    If you are refering to the Dock Icon which showed you your Downloads folder then open a Finder Window on your Home folder and drag the Downloads folder to the dock. It will create an Icon for the folder.
    Not sure about the Bootcamp icon, don;t use it but if there is a Bootcamp folder the procedure should be the same.
    regards
    BTW Starting a discussion is the same as asking a question.

  • I just downloaded mavericks the new os on my MacBook Pro two days ago. This morning everything was fine.i had the computer on for about 2hrs when I looked over and the screen was black. This usually happens after awhile. This time it won't come on at all.

    I just downloaded the new Mavericks everything was fine this morning then my screen went black as it usually does when I leave it for an hour or so. I usually push the on button once and it comes back this time it didn't. I hold the button down and it'll go off I hold the button down and I hear it make the start up sound but nothing comes on the screen it's totally black. I'm not sure if this has anything to do with downloading the new Mavericks does anybody have any ideas. Is there any way to reboot when you can't see what's on the screen. I believe it's coming on but I cannot put in my password because I cannot see where to type it in.

    This is really unfortunate. I'm sorry that nothing works. I was going to mention holding down the power button and doing a force shutdown but you already did that. You might need to take it into the Apple store. I don't know if booting into safe mode would help. You would have to turn off the machine again, hit the start button and hold down the shift key after you hear the tone, but normally you would let go of the shift key when you see the apple logo and spining wheel. Maybe by holding down the shift key after you here the tone will cause the screen to come back on? The other option is to start up from the 'install disk' if your machine came with one. You would insert the disk, then shut down the computer, and hold down the C key right after hitting the start button.
    Here's the link for the safeboot
    http://support.apple.com/kb/HT1564?viewlocale=nl_nl

  • Problem deploying my jsp pages to the BPEL Server

    Hi,
    I want to invoke a bpel process using a java file that is executed by a jsp page, so I deployed the jsp page and the java file to the bpel server where my bpel processes are, but i get the next error when i execute the jsp page. I use struts to define my pages.
    Please help
    here is the error in the browser:
    500 Internal Server Error
    java.lang.NoClassDefFoundError: com/collaxa/common/util/NonSyncStringWriter     at com.oracle.bpel.client.ClientResources.sanitizeArgs(ClientResources.java:123)     at com.oracle.bpel.client.ClientResources.getString(ClientResources.java:93)     at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:232)     at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:83)     at com.oracle.bpel.client.Locator.<init>(Locator.java:126)     at com.oracle.bpel.client.Locator.<init>(Locator.java:97)     at mypackage2.BpelManager.invokeProcess(BpelManager.java:58)     at mypackage2.ConstanciaTrabajoAction.execute(ConstanciaTrabajoAction.java:45)     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)
    here the strut.config:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <action-mappings>
    <action path="/constanciaTrabajoAction" type="mypackage2.ConstanciaTrabajoAction" input="/constanciaTrabajo.jsp" scope="request" validate="true">
    <forward name="OK" path="/exito.jsp"/>
    <forward name="FALLO" path="/fracaso.jsp"/>
    </action>
    </action-mappings>
    <message-resources parameter="mypackage2.ApplicationResources"/>
    </struts-config>
    the jsp file:
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    <%@ page import="java.util.*"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <html:link action="/constanciaTrabajoAction">Constancia de Trabajo</html:link></body>
    </html>
    here the java files:
    * ConstanciaTrabajoAction.java
    package mypackage2;
    import java.util.Map;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionMapping;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionError;
    import org.apache.struts.action.ActionErrors;
    import java.io.IOException;
    import javax.servlet.ServletException;
    public class ConstanciaTrabajoAction extends Action
    * This is the main action called from the Struts framework.
    * @param mapping The ActionMapping used to select this instance.
    * @param form The optional ActionForm bean for this request.
    * @param request The HTTP Request we are processing.
    * @param response The HTTP Response we are processing.
    * @throws javax.servlet.ServletException
    * @throws java.io.IOException
    * @return
    public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
    String xml = "<ConcatRequest xmlns='http://xmlns.oracle.com/Concat'>"
    +"<input><Solicitud><SolicitudData><tipoSolicitud>Constancia Trabajo</tipoSolicitud>"
    +"</SolicitudData><Solicitante><ID>vcuello</ID><Nombre>Veronica</Nombre><Apellido>Cuello"
    +"</Apellido><Email>[email protected]</Email></Solicitante><Supervisor><ID>rperez</ID>"
    +"<Nombre>Roberto</Nombre><Apellido>Perez</Apellido><Email>[email protected]</Email>"
    +"</Supervisor><Gerente><ID>asanchez</ID><Nombre>Alfredo</Nombre> <Apellido>Sanchez</Apellido>"
    +"<Email>[email protected]</Email></Gerente><Datos><Dato><Nombre>dato</Nombre>"
    +"<Valor>valor</Valor></Dato></Datos><exito><notificacionCons>false</notificacionCons>"
    +"<docManager><imprimir>false</imprimir><firmar>false</firmar></docManager></exito></Solicitud>"
    +"</input>"
    + "</ConcatRequest>";
    String oxml = "<ConcatResponse xmlns='http://xmlns.oracle.com/Concat'>"
    + "<result></result>"
    + "</ConcatResponse>";
    BpelManager.invokeProcess("ConstanciaTrabajo","initiate",xml);
    Map res = BpelManager.requestProcess("ConstanciaTrabajo","onResult",oxml);
    return mapping.findForward("OK");
    * [i]BpelManager.java
    package mypackage2;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.ServerException;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import com.oracle.bpel.client.util.WhereCondition;
    import com.oracle.services.bpel.task.ITask;
    import com.oracle.services.bpel.task.IWorklistService;
    import java.util.Map;
    import java.util.Properties;
    public class BpelManager
    static Locator locator = null;
    static String bpelDomain = "default";
    static String bpelDomainPassword = "bpel";
    static String orabpelPlatform = "oc4j_10g";
    static String javaNamingFactoryInitial = "com.evermind.server.rmi.RMIInitialContextFactory";
    static String javaNamingProviderUrl = "ormi://develc15:23791";
    static String javaNamingSecurityPrincipal = "admin";
    static String javaNamingSecurityCredentials = "welcome";
    static String dedicatedRmiContext = "true";
    public static String bpelProcessName = "ConstanciaTrabajo";
    public static void invokeProcess(String processName, String operationName, String sXml)
    try
    Properties props = new java.util.Properties();
    props.setProperty("orabpel.platform",orabpelPlatform);
    props.setProperty("java.naming.factory.initial",javaNamingFactoryInitial);
    props.setProperty("java.naming.provider.url",javaNamingProviderUrl);
    props.setProperty("java.naming.security.principal",javaNamingSecurityPrincipal);
    props.setProperty("java.naming.security.credentials",javaNamingSecurityCredentials);
    props.setProperty("dedicated.rmicontext", dedicatedRmiContext);
    locator = new Locator(bpelDomain,bpelDomainPassword,props);
    /*IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
    // construct the normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart("payload", sXml);
    deliveryService.post(processName, operationName, nm);*/
    } catch (Exception r)
    r.printStackTrace();
    public static Map requestProcess(String processName, String operationName, String sXml)
    try
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
    //IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    // construct the normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart("payload", sXml );
    NormalizedMessage res = deliveryService.request(processName, operationName, nm);
    Map payload = res.getPayload();
    return payload;
    } catch (Exception r)
    r.printStackTrace();
    return null;
    public static ITask[] queryWorklistService(String arg)
    // Lookup the worklist service.
    IWorklistService worklist =
    (IWorklistService)locator.lookupService( IWorklistService.SERVICE_NAME );
    try
    ITask[] tasks = worklist.listTasksByAssignee(arg);
    return tasks;
    } catch (ServerException s)
    s.printStackTrace();
    return null;
    public static ITask[] queryWorklistServiceByCondition(WhereCondition cond)
    // Lookup the worklist service.
    IWorklistService worklist =
    (IWorklistService)locator.lookupService( IWorklistService.SERVICE_NAME );
    try
    ITask[] tasks = worklist.listTasks(cond);
    return tasks;
    } catch (ServerException s)
    s.printStackTrace();
    return null;
    public static void updateTask(ITask task)
    // Lookup the worklist service.
    IWorklistService worklist =
    (IWorklistService)locator.lookupService( IWorklistService.SERVICE_NAME );
    try
    worklist.updateTask(task);
    } catch (ServerException s)
    s.printStackTrace();
    public static void completeTask(ITask task)
    // Lookup the worklist service.
    IWorklistService worklist =
    (IWorklistService)locator.lookupService( IWorklistService.SERVICE_NAME );
    try
    worklist.completeTask(task);
    } catch (ServerException s)
    s.printStackTrace();
    public static ITask lookupTask(String taskId)
    // Lookup the worklist service.
    IWorklistService worklist =
    (IWorklistService)locator.lookupService( IWorklistService.SERVICE_NAME );
    System.out.println("Entro a Cargo tarea");
    try
    ITask task = worklist.lookupTask(taskId);
    System.out.println("Cargo tarea");
    return task;
    } catch (ServerException s)
    System.out.println("La boto");
    s.printStackTrace();
    return null;
    public void setLocator(Locator locator)
    this.locator = locator;
    public Locator getLocator()
    return locator;
    public void setBpelDomain(String bpelDomain)
    this.bpelDomain = bpelDomain;
    public String getBpelDomain()
    return bpelDomain;
    public void setBpelDomainPassword(String bpelDomainPassword)
    this.bpelDomainPassword = bpelDomainPassword;
    public String getBpelDomainPassword()
    return bpelDomainPassword;
    public void setOrabpelPlatform(String orabpelPlatform)
    this.orabpelPlatform = orabpelPlatform;
    public String getOrabpelPlatform()
    return orabpelPlatform;
    public void setJavaNamingFactoryInitial(String javaNamingFactoryInitial)
    this.javaNamingFactoryInitial = javaNamingFactoryInitial;
    public String getJavaNamingFactoryInitial()
    return javaNamingFactoryInitial;
    public void setJavaNamingProviderUrl(String javaNamingProviderUrl)
    this.javaNamingProviderUrl = javaNamingProviderUrl;
    public String getJavaNamingProviderUrl()
    return javaNamingProviderUrl;
    public void setJavaNamingSecurityPrincipal(String javaNamingSecurityPrincipal)
    this.javaNamingSecurityPrincipal = javaNamingSecurityPrincipal;
    public String getJavaNamingSecurityPrincipal()
    return javaNamingSecurityPrincipal;
    public void setJavaNamingSecurityCredentials(String javaNamingSecurityCredentials)
    this.javaNamingSecurityCredentials = javaNamingSecurityCredentials;
    public String getJavaNamingSecurityCredentials()
    return javaNamingSecurityCredentials;
    public void setDedicatedRmiContext(String dedicatedRmiContext)
    this.dedicatedRmiContext = dedicatedRmiContext;
    public String getDedicatedRmiContext()
    return dedicatedRmiContext;
    public void setBpelProcessName(String bpelProcessName)
    this.bpelProcessName = bpelProcessName;
    public String getBpelProcessName()
    return bpelProcessName;
    }

    hi,
    I fix it, thanx
    static Locator locator = null;
    // public static IWorklistService worklist = null;
    static String bpelDomain = "default";
    static String bpelDomainPassword = "bpel";
    static String orabpelPlatform = "oc4j_10g";
    static String javaNamingFactoryInitial = "com.evermind.server.rmi.RMIInitialContextFactory";
    static String javaNamingProviderUrl = "ormi://myserver:23791/orabpel"; /*this was wrong
    static String javaNamingSecurityPrincipal = "admin";
    static String javaNamingSecurityCredentials = "welcome";
    static String dedicatedRmiContext = "true";
    static{
    try{
    Properties props = new java.util.Properties();
    props.setProperty("orabpel.platform",orabpelPlatform);
    props.setProperty("java.naming.factory.initial",javaNamingFactoryInitial);
    props.setProperty("java.naming.provider.url",javaNamingProviderUrl);
    props.setProperty("java.naming.security.principal",javaNamingSecurityPrincipal);
    props.setProperty("java.naming.security.credentials",javaNamingSecurityCredentials);
    props.setProperty("dedicated.rmicontext", dedicatedRmiContext);
    locator = new Locator(bpelDomain, bpelDomainPassword, props);
    } catch (ServerException se){se.printStackTrace();}
    }

  • On a web form, I used to be able to insert info, hit enter and then Back Page and the cursor would "remember" where I was.

    On a web form, I used to be able to enter info. Then when I got the info I needed, I was able to Back Page and the cursor would "remember" where I left it last.
    Now, when I Back Page, the cursor goes to the beginning of the form which means that I must replace the cursor at the proper place and enter in new info.
    Using FF 4.0 with Vista 64 on my Desk Top.

    This is probably due to a problem with an add-on. For details of how to troubleshoot that see https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    The AVG Safe Search add-on has caused this problem for some.

  • Unable to save xls file from website in the "Microsoft Office Excel 97-2003 Worksheet" format. The browser is saving in unrecognized "File" Type

    The version I am using is 3.6.11
    The file is stored in the server in the format "Microsoft Office Excel 97-2003 Worksheet"
    But when I download it, it gets saved in the unrecognized format type "File"
    The servlet code written to download the file sets the content type to "application/vnd.ms-excel"
    I am able to save the file in Microsoft Office Excel 97-2003 Worksheet format using Internet Explorer Browser without any issues.
    But it does not work with the Mozilla Firefox. Any plug-in needed to make it work?

    Did you try to add the .xls file extension yourself to those files?

  • Smartview for OBIEE - Excel 2007

    Hello,
    I have installed OBIEE 11.1.1.6.0 on my desktop with simple install.  and have "SmartView" Menu on Excel 2007.  When I click smartview and try to create private connection using: http://localhost:7001/analytics/jbips
    by selecting "Oracle BI EE" connection provider type. I am getting the error "can not connect to the provider". Then I am getting the login screen.  I entered the user id and password.  Now, I am getting the login error.  The login user id and password are correct because I use the same user id and password to connect to analytics, enterprise manager and console (weblogic) and my OBIEE is up and running.
    Anybody has any ideas on this error?
    Thank you,

    No I don't think so because SV 11.1.2.3 user guide mentioned that it suports Office Excel 2007 as follows:
    Office support
    When working with Oracle BI EE data sources, Smart View supports these versions of Microsoft Office:
    2007
    2010 32-bit
    2010 64-bit
    Regards,
    Ahmad.

  • Microsoft Office Excel 2007 Document Password Lost

    Hi All,
    Anyone know how to recovery Microsoft Office Excel 2007 Document Password? Please advise.
    Thanks & regards,

    Try the password remover at http://www.straxx.com/excel/password.html. I know it works for Excel 2003 files. It may work for your 2007 file as well.

  • Where is the Content-Update for SLD?

    Hello SDN!
    where I can find the Content-Patch for SLD?
    In documentation I found: the following path Support Packages ->SAP->Technology Componennts-SAP-Masterdata for SLD.
    But there is no such a path in SMP. There is a Path:
    Support Packages and Patches -> Entry by Application Group-> SAP Technology Components-> SAP CR CONTENT-> SAP MASTER DATA FOR SLD 2.0. But under this link I found only some ZIP's from 2007 ????
    If I should take the SAP CR Content - what should I take for my NW 7.01 - SLD  from 2009 or earlier?
    Thank you for your help in advance.
    Vladimir
    Edited by: Vladimir Golovtchiner on Jul 20, 2009 8:35 AM

    Support Packages and Patches -> Entry by Application Group-> SAP Technology Components-> SAP CR CONTENT-> SAP MASTER DATA FOR SLD 2.0. But under this link I found only some ZIP's from 2007 ????
    If I should take the SAP CR Content - what should I take for my NW 7.01 - SLD from 2009 or earlier?
    Why to you want to update CR If you have latest anyway? If there is latest available at later date then just go for the delta.

  • Lost the content code for free up gradation of mountain lion. What to do ???

    Lost the content code for free up gradation of mountain lion. What to do ???

    https://discussions.apple.com/thread/4134740
    Thread /w same question

  • When I try to get the key code for office it tells me its already been used.  My mac had a new hard drive in its first year, could it be because of this?  How can I get the office I've paid for but never used?

    My mac had to have a new hard drive in its first year.  Now, when I try to get the key code for office it tells me its already been used.  How do i get the office I've paid for but never used?

    The product key is sent to you by email as part of the purchase confirmation.
    If you have lost it, log into your Microsoft account.

Maybe you are looking for