Error "_blank is undefined" for a new popup jsp page opening from a button

Added a new button, by personalization to a self service page. The new button on click should open a new jsp page. The jsp page is opening properly on the same page if I remove the blank from the target frame property. For opening the jsp page on a new window, on specifying blank property, getting page error as "_blank is undefined". Also the appearance of the new button added by personalization is different from other buttons. Please help me as I am clueless regarding what might be the cause of such java script(page error).

If your button appears as a normal html button then your display server might not be generating the image properly, check the logs after turning on logging to see if there are any errors thrown from the display server. Secondly the images generated at runtime are cached in $OA_HTML/cabo/images/cache/en folder, check to see if that folder has proper write permissions for the display server to write the image there.
What is the OAf version you are using ? Setting _blank on the target frame is the right approach, once you get the above problem rectified try it again.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Trouble opening a just created Pages file.....error message says I need a newer version of Pages......Apple Store says I have version 5.0.......opening an older Pages file it says I have version 4.3.......can not find any way to try another upgrade to 5.0

    Trouble opening a just created Pages file.....error message says I need a newer version of Pages......Apple Store says I have version 5.0.......opening an older Pages file it says I have version 4.3.......can not find any way to try another upgrade to 5.0........please help......
    Thanks

    Personally, I would not recommend deleting/removing the iWorks 09 folder for several reasons: one is that the new versions have had several functionalities removed and until you decide that you can work with the new one and do not miss any features the older version had, I would leave the old one in place. Personally, I will not be using the new versions.
    The second reason is that you can accomplish what you want using a different approach: simply open a Get Info window of your document and choose which version of Pages you want this to open in - you can also stipulate that all docs like this are opened with whichever particular version.
    FWIW: Once you have edited an old document in the new Pages version, you can no longer open it in the older version. However, you can still export it to the old version.

  • When I trade my cracked iPod in for a new one, will the information from my iPod be transferred to the new one?

    When I Trade My Cracked iPod for a New One, Will the Information From the Cracked iPod Be Transferred to the New One?

    That is done through iTunes.  If everything on your cracked iPod is in your iTunes library, you just need to sync the new iPod the same way.
    If there is content on the cracked iPod that is not in your iTunes library, that content will be lost, unless you transfer its content to your computer before the "trade in."  Content that you purchased from the iTunes Store can be re-downloaded at no cost, using the Purchased screen in the iTunes Store.

  • Error in parsing the taglib tag in the JSP page

    Hi
    We are trying to deploy and run a Web Application in CE 7.1 SP01. We are successful in deploying and running servlet based web pages, but when it comes to JSP's the taglibs are not parsed and we get the following error message
    Runtime error in processing of the JSP file E:\usr\sap\CE1\J01\j2ee\cluster\apps\sap.com\TestNWEAR\servlet_jsp\TestNW\root\admin\main.jsp.
    The error is: com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: Error in parsing the taglib tag in the JSP page. Cannot resolve URI: [webwork]. Possible reason - validation failed. Check if your TLD is valid against its scheme.02004C4F4F5000190000004E000013400191D308B45
    Processing HTTP request to servlet [jsp] finished with error.
    The error is: java.io.FileNotFoundException: E:\usr\sap\CE1\J01\j2ee\cluster\apps\sap.com\TestNWEAR\servlet_jsp\TestNW\root\admin\webwork (The system cannot find the file specified)02004C4F4F50001900000051000013400191D308B45AF1AB
    We followed the below weblog to correct the TLD's in JAVA EE 5 @ SAP but it did not work for us.
    /people/community.user/blog/2006/10/13/porting-the-java-blueprint-solutions-catalogue-applications-to-sap-netweaver-application-server-java-ee-5-edition
    Any immediate help will be rewarded with full points
    Thanks in advance
    Lakshmi
    Edited by: lakshmi N Munnungi on May 5, 2008 11:36 PM
    Edited by: lakshmi N Munnungi on May 5, 2008 11:39 PM

    Hi Lakshmi,
    I have also the same problem. If you have found the solution please post it thanks,
    Thanks,
    Tariq

  • I desperately would like to update Firefox to version 10 from version 9 but each time I try, I am stuck with FF10 checking addons for comparability and the Welcome page opening every time I start the browser.

    Windows 7 64 bit
    I desperately would like to update Firefox to version 10 from version 9 but each time I try, I am stuck with FF10 checking addons for compatability and the Welcome page opening every time I start the browser. I continue to have to revert to version 9 to resolve this issue.

    Sorry to be a while getting back! Tried all of that with no sucess so this AM, bit the bullet and deleted the FF folder from programs and downloaded and installed FF 10.01. Still was plagued with the same problem. Went into the appdata folder and there were two sessionstore.js files. Deleted them both, restarted the browser and no compatibility check for add-ons was done at start up and the extra tab for Welcome to FF was no longer opening Everything seems to be working as it should and I did not loose any of my settings.. Thank you for trying to help and I hope my solution helps anyone else who might experience this in the future. Here's hoping the next update goes smoother!

  • Error while entering transaction for a new customer in release 12.1.1

    Hi,
    I created a new customer in receivables (am using the version 12.1.1)
    First i got an error while creating the customer saying, "Provide a positive integer for minimum customer balance amount or percent when balance amount overdue type is amount or percent respectively"
    I corrected the profile class amounts and now am allowed to create the customer but now the error comes while entering a transaction for this new customer:
    "The system cannot determine geographical information for this location and cannot derive a tax jurisdiction. Please contact your system administrator"
    please suggest a solution.
    regards,
    Shilpa

    I faced the same problem, Doc ID 420194.1 solved the problem. Shilpa kindly post the solutions moving forward so the users can benefit from it. Thank you!
    Solution
    run Geography Reference Program with parameter "Country code" for all records.
    Navigate to Trading Community Manager ->
    Requests -> Run
    Select "Geography Name Referencing" program
    Processing for Table : HZ_LOCATIONS and Run Type : ALL
    Parameters: Country Code :US
    Usage Code :ALL
    From Location Id :NULL: To Location Id:NULL
    Start Date :NULL: End Date:NULL
    Number of workers:1
    Total number of Processed Locations:9
    Number of Successfully Processed Locations:9
    Number of Locations in Error:0

  • Generated servlet error: method is undefined for type

    Hi,
    I keep getting the following error when I attempt to run my JSP:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 12 in the jsp file: /jsp-examples/JSPandMySQL/loginuser.jsp
    Generated servlet error:
    The method getValidUser() is undefined for the type LoginDetails
    In my JSP file I have the code:
    <%
    boolean validName = login.getValidUser();
    if(validName == false) {
    out.println("Invalid Username");
    } else {
    out.println("Valid Username");
    %>
    and the method getValidUser(); is in a Java Bean that I have created and the code for that method is just :
    public boolean getValidUser() {
    return valid;
    I've tried searching the net for some answers but none of the solutions given work for mine, I would be grateful for any advice on how to solve this program.

    DId you import the class at the top of the jSP? Does the method exist? Is the class compiled properly?
    - Saish

  • I tried to sign up for a new free account, got message from you. Sent you em address ask what is wrong. Find my em was right. condused. Tried change my profile, but never had a profile, and at that it says to change my password, not want to change it.

    Wow, at age 76 I'm suppose to remember all I saw before and give you more details?
    I wanted to be able to join the support blog, to be able to ask a question. It all went from there. Somewhere along the line I saw sign up for a new free (support?) account. I did. created a cute name (Marycontrary), put in a password, not likely one to be used by someone else, my em address. Sent. Got a confirmation em from you. I clidked to confirm. I got back from you: It said something wrong (or something like that) I thought maybe I didn't type in the last part of my em address and sent a reply to you to that effect. See above for rest. Hope you can help. I can't stand it when companies want us to change our passwords. I like us to be able to keep our original password, I use different ones for different sites. The best sites give us a chance to retrieve our orignial password by setting up a chance to choosing a question of our choice and registering the answer, then when a problem they as the question and we give the answer and everything goes well. These change you password bits are very very hard on us older people, and there are more and more of us out here on the net now days. Thank you for any help you can give me.'''bold text'''

    You are describing the way Skype accounts are set up since the beginning of Skype: No email verification is necessary. That's why we recommend new users to create their Skype accouns using Microsoft account instead which has all these security features.
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • How do I change the default save location for new files in Pages back from iCloud to my Documents folder?

    I just upgraded OSX to Mountain Lion and Pages to 4.2, and because OSX is syncing with my iCloud account, when I go to save a new file in Pages it defaults to try to save to my iCloud account rather than giving me the folder structure on my hard-drive that I prefer. It requires two extra steps to save to the proper place in my Documents folder on my hard drive.
    Is there a way to reset the default so that when I go to save a new file, the folder structure opens to the last saved folder (like it does in other non-iCloud applications) rather than defaulting to my iCloud, and to do it without just removing documents from my iCloud account entirely?
    I checked the Preferences for both Pages and iCloud and found nothing about this.

    What I meant is turn off Documents and Data in iCloud in OS X. Keep it on on your iOS devices. iCloud will sync documents between the iOS devices and make them available on the iCloud web site, but it won't mess up iWorks' open and save dialog boxes. It also won't assume that you want all your documents in iCloud, which I think is undesirable anyway.
    Keep iOS and OS X separate, and use the web site to move files between the two as necessary.
    iOS iWork is different from OS X iWork. There are fewer fonts on an iOS device. iOS iWork programs have slightly different feature sets than OS X iWork programs, and the file formats are different. iCloud automatically converts the file format when necessary, but if you make a habit of saving things directly to iCloud, you are limited to the lowest common denominator between the two versions of iWorks. So why would anyone want iWork on the Mac to open and save documents on iCloud by default?
    If you want to store files in the cloud and sync them on your Macs, SugarSync is a much better solution. It lets you choose your sync folders, it doesn't make you reorganize your files, it lets you sync all file types, it doesn't convert files to a different format and back, and it stores everything in the cloud, too. Just the simle act of saving a file backs it up and syncs it. I wouldn't live without it. iCloud is best with iTunes purchases and synchronizing Mac settings and iOS files; I woudln't live without it. The two make an unbeatable combination.

  • How do I download Windows 7 64 bit drivers for my new MacBook Air (Mid 2011) from a Windows 7 PC?

    How do I download Windows 7 64 bit drivers for my new MacBook Air (Mid 2011)? I have already formated the HD and preformed a clean install of Windows 7. Perhaps I did this too early. I have read I need to install the drivers from my OS X DVD, however, OS X Lion does not come on a DVD! I've also read that I can download OS X Lion from the App Store and burn it to a DVD, however, all I have are Windows PCs which don't support the Mac App Store.
    Is there no way for me to download these drivers from a Windows PC?  I know they exist.  However, you are supposed to download them through Boot Camp in OS X when you are creating a new Windows 7 installation.  I'm I stuck?

    I am pretty disappointed in the lack of documentation.
    This is the Apple Support page for Boot Camp:
    http://www.apple.com/support/bootcamp/
    No mention anywhere of Lion, of 4.0/4.01
    In the past, 10.6.6+ was suppose to - and sometimes did - provide for a download drivers from within Boot Camp Assistant program, in order to save them to flash or such (that should be about 1GB, too large for CD). Some macs req'd a USB-DVD or other driver that was needed pre-install of Winidows
    You don't install Apple drivers until after Windows is installed otherwise,
    It is possible for me, with a tower, to run w/o needing any drivers from Apple. But with laptops, mini, you do need some drivers from Apple for graphics, internet, wireless, SMC support.
    And right now, loading any Apple support Tech Note articles is very very slow.
    People keep asking why Apple can't post 3.0 or 4.0 like they do the updates. Only logic is to force t he download from inside OS X or from an OS X DVD. Otherwise would be here, and avoid all the trouble. they aren't of use on a PC, and any PC motherboard vendor does post their support software for download.
    Apple Support Downloads #bootcamp

  • Asking for a new version of Pages...which I already have

    I am running Mavericks
    When I tried to open a Pages doc this morning I got a message saying I needed a newer version of Pages to open it. I already have Pages 5 and was able to open this document yesterday.
    I went to Applications and opened Pages 5 from there  and the document then opened.
    I did a search and discovred I still have Pages 4.3 in iwork on my Mac so I assume that, for some reason, the Mac was trying to use 4.3 to open the doc.
    How do I make the Mac use Pages 5 as a default? Can I just delete Pages 4.3 from within iWork?

    You can just delete the Pages 4.3 app, BUT you may not want to. There is a lot of negative feedback from users about the new version 5.0 as many functions and features have been removed - much to the horror of many.
    Apple announced this week that some of the deleted functionality would be re-introduced to the iWork apps over the next 6 months. If you rely on iWork for anything other than the simplest of use you may want to hold off deleting the older version.
    There are quite a few threads on these forums discussing the new, unimproved iWork.

  • Setting environment for a new custom JSP

    Hi All,
    I have created a new custom jsp,Calling teh API is not working as apps initialization is not happening. When we printed the user id,application id etc it was coming as null. How to initialize apps in JSP.
    Thanks,
    Shreya

    Below code might be useful.
    <%@ page language="java" errorPage="OAErrorPage.jsp" contentType="text/html"
    import="oracle.apps.fnd.common.WebAppsContext"
    import = "java.io.File"
    import = "oracle.apps.fnd.framework.webui.OAJSPHelper"
    import = "oracle.apps.fnd.framework.webui.URLMgr"
    import = "oracle.apps.fnd.common.WebAppsContext"%>
    <%! public static final String RCS_ID = "$Header: test_fwktutorial.jsp 115.5 2003/05/05 10:20:28 gmallesh noship $"; %>
    <jsp:useBean id="sessionBean" class="oracle.apps.fnd.framework.CreateIcxSession"
    scope="request"></jsp:useBean>
    <%
    response.setHeader("Cache-Control", "no-cache"); // HTTP 1.1
    response.setHeader("Pragma", "no-cache"); // HTTP 1.0
    response.setDateHeader("Expires", -1); // Prevent caching at the proxy server
    response.setStatus(HttpServletResponse.SC_RESET_CONTENT); // HTTP 1.1. Only way to force refresh in IE.
    String dbcFullPathName = oracle.apps.fnd.framework.webui.OAJSPHelper.getWebAppContextInitParameter(pageContext, "DBC_FULL_PATH_NAME");
    System.out.println("dbcFullPathName: "+dbcFullPathName);
    String userName = "fnd_user_name";
    String userPassword = "pwd";
    String appShortName = "product short code";
    String responsibilityKey = "RESP_KEY";
    String dbcName = "DBName";
    String sessionid = sessionBean.createSession(request, response, dbcFullPathName, userName, userPassword, appShortName, responsibilityKey);
    String transactionid = sessionBean.createTransaction(sessionBean.mRespInfo[0], sessionBean.mRespInfo[1], sessionBean.mRespInfo[2], dbcFullPathName);
    //Use flowing webAppsContext to call the API
    WebAppsContext wctx = sessionBean.getWebAppsContext();
    %>
    Regards,
    Peddi.

  • Error, package does not exist, thrown when calling jsp page

    Hi
    I have downloaded sample jsp pages for interaction with Crystal reports. When I compile these jsp pages in NetBeans 3.6 there are no problems. When I deploy these pages and associated libraries to Tomcat 5, I get the following error when attempting to call the jsp page, but all the jars used in NetBeans are present in the web-inf/lib directory and I have looked in the jars and found classes in the com.crystaldecisions.report.web.viewer package. I have been unable to find any information after googling and looking at the jakarta bug database. What am I doing wrong?
    The error...
    2004-09-22 17:40:30 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 1 in the jsp file: /CrystalReportsInteractiveViewer.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    E:\Tomcat5\work\Catalina\localhost\crystal\org\apache\jsp\SimplePreviewReport_jsp.java:9: package com.crystaldecisions.report.web.viewer does not exist
    import com.crystaldecisions.report.web.viewer.*;
    ^
    E:\Tomcat5\work\Catalina\localhost\crystal\org\apache\jsp\SimplePreviewReport_jsp.java:180: cannot resolve symbol
    symbol : class CrystalReportInteractiveViewer
    location: class org.apache.jsp.SimplePreviewReport_jsp
    CrystalReportInteractiveViewer viewer = new CrystalReportInteractiveViewer();
    ^
    An error occurred at line: 1 in the jsp file: /CrystalReportsInteractiveViewer.jsp
    Generated servlet error:
    E:\Tomcat5\work\Catalina\localhost\crystal\org\apache\jsp\SimplePreviewReport_jsp.java:180: cannot resolve symbol
    symbol : class CrystalReportInteractiveViewer
    location: class org.apache.jsp.SimplePreviewReport_jsp
    CrystalReportInteractiveViewer viewer = new CrystalReportInteractiveViewer();
    ^
    An error occurred at line: 1 in the jsp file: /CrystalReportsInteractiveViewer.jsp
    Generated servlet error:
    Note: E:\Tomcat5\work\Catalina\localhost\crystal\org\apache\jsp\SimplePreviewReport_jsp.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
    3 errors
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:805)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:696)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
         at java.lang.Thread.run(Thread.java:534)
    The offending page is ....
    <%
    /*==========================================================================
    INSTANTIATE THE VIEWER AND DISPLAY THE REPORT THROUGH THE INTERACTIVE VIEWER
    ============================================================================
        - Create a Viewer object
        - Set the source for the  viewer to the client documents report source
        - Process the http request to view the report
        - Dispose of the viewer object
    // Create an Interactive Viewer
    CrystalReportInteractiveViewer viewer = new CrystalReportInteractiveViewer();
    // Set the name for the interactive viewer
    viewer.setName("Crystal_Report_Interactive_Viewer");
    // Set the source for the interacive viewer to the client documents report source
    viewer.setReportSource(clientDoc.getReportSource());
    // Process the http request to view the report
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
    // Dispose of the viewer object
    viewer.dispose();
    %>included in...
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*"%>
    <%@ page import="com.crystaldecisions.report.web.viewer.*"%>
    <html>
    <head>
    <title>Begin Here - Simple Preview Report</title>
    </head>
    <body>
    <%
    /*=================================================================
    WORKING WITH THE REPORT APPLICATION SERVER AND JSP TO VIEW REPORTS
    ===================================================================
    Authors Name: Ken Andony
    Technology supported by the app: Report Application Server
      ALWAYS REQUIRED STEPS
       - Create a new Report Application Session
       - Create a Report Application Server (RAS) Service
       - Set the RAS Server to be used for the service
       - Initialize the RAS Service
       - Create the report client document object
       - Set the RAS Server to be used for the report client document
       - Open the report, and set the open type to Read Only
      INSTANTIATE THE REPORT VIEWER
       - Create a Viewer object
       - Set the source for the viewer to the client documents report source
       - Process the http request to view the report
       - Dispose of the viewer object
    ==================================================================*/
    * This line creates a string variable called reportname that we will use to pass
    * the Crystal Report filename (.rpt file) to the OpenReport method contained in
    * the AlwaysRequiredSteps.jsp.
    String reportName ="SimplePreviewReport.rpt";
    %>
    <%
    /* ALWAYS REQUIRED STEPS
      Include the file AlwaysRequiredSteps.jsp which contains the code
      for steps:
       - Create a new Report Application Session
       - Create a Report Application Server (RAS) Service
       - Set the RAS Server to be used for the service
       - Initialize the RAS Service
       - Create the report client document object
       - Set the RAS Server to be used for the report client document
       - Open the report, and set the open type to Read Only */
    %>
    <%@ include file="AlwaysRequiredSteps.jsp"%>
    <%
    /* INSTANTIATE THE REPORT VIEWER
      There are three Report Viewers:
      1.  Crystal Reports Interactive Viewer
      2.  Crystal Reports Viewer
      3.  Crystal Reports Parts Viewer
      The choices are CrystalReportsInteractiveViewer.jsp, CrystalReportsViewer.jsp,
      CrystalReportsPartsViewer.jsp
      Note that to use this include you must have the appropriate .jsp file in the
      same virtual directory as the main jsp page.
      =============================================================================
        DISPLAY THE REPORT
        - display the report using one of the Thin Client DHTML viewers
       Include one of the DHTML Viewers.
        - Crystal Reports Interactive Viewer          =   CrystalReportsInteractiveViewer.jsp
        - Crystal Reports Viewer                                        =   CrystalReportsViewer.jsp
        - Crystal Reports Parts Viewer                         =   CrystalReportsPartsViewer.jsp
        Note** - To use the report parts viewer successfully you are required to
        choose and name three objects in the report to Node0, Node1 and Node2.
        You can access an objects name by using the Format Editor dialog box.
        For more information on the Format Editor Dialog Box and setting objects
        names, please refer to the Help Contents (Help Menu->Crystal Reports Help)
        or by pressing F1
      =============================================================================*/
    %>
    <%@ include file="CrystalReportsInteractiveViewer.jsp" %>
    </body>
    </html>

    Thanks Tien-Chih Wang. It worked...well I'm getting a new set of errors, but progress has been made!
    I understand that if placed in the common directory the jar will be available to all webapps but why does it make a difference whether a jar file is placed under the $TOMAT_HOME/common/lib or $TOMAT_HOME/webapps/appname/web-inf/lib directory if I only need to access the jar from one webapp?

  • Error while accessing remote server using applet in jsp page

    hii..
    We are accessing a data repository MDSPlus. Its used for storing data such as signals in tree like structure. We r coding for client side in JSP .
    For this we are invoking applet which uses jar files of jScope(java tool for displaying waveforms). We r getting the following error when we try to access a remote server in network. But it works fine with local server.
    So kindly help .
    ERROR IS:
    java.security.AccessControlException:access denied(java.net.SocketPermission 202.41.112.140:8000 connect,resolve)
    url mds:://202.41.112.140/SST_DAQ/11/\SST_DAQ::TOP.BOLOMETER:BOLO_1
    Use ploicytool.exe in JDK or JRE installation directory to add socket access permission.
    The IP address mentioned above in error is the computer with which v have to connect. SST_DAQ is the expt name,11 is the shot no. , BOLOMETER and BOLO_1 are the tree node s..
    plzz reply fast........

    Hi Frank,
    Are you using standalone OC4J or 9iAS ? If you are using standalone OC4J then you need to add a proper data source entry in %OC4J_HOME%j2ee\home\config\data-sources.xml file.
    If you are using 9iAS the you can log in to the Enterprise Manager console and add the data source entry by using wizard provided by 9iAS.
    Ensure the case of the JNDI lookup string, since, it is case sensitive.
    Hope this helps.
    Abhijeet

  • Converting a class for use in a jsp page.

    I was just wondering if it is possible/normal to convert complex(ish) classes to change the output from the system.out, to a return value from a method that is displayed via a jsp page. (I am just beginning, and trying to make the coversion from asp with COM to jsp with beans/servlets and I am not yet fully understanding the technologies, and how you import classes etc - please bear with me!)
    first, I made a class that has a method that just returns a string. like:
         public String GetAValue()
              return "Hello there.";
         }and then I made a jsp page that imported the class (test) like:
    <%@ page import="Test" %>
    <jsp:useBean id="tst" scope="page" class="Test" />
    st = tst.GetAValue();
    out.println(st);
    Which to my delight, worked fine! Then I made another class that retrieved a value from a web service. kind of like...
         public String GetAValueFromAWebService(){
              return theWebService.GetValueFromWebServiceMethod();
         }This class also works good when I just run via "java testit". But when I went to do the same as above ,ie, import the class, do a usebean then do st=tst2.GetValueFromWebServiceMethod(), I could not get it to work at all. This class does lots more tricky stuff then the first one though - it loads its properties from a .properties file via an instance of another class, and imports funky stuff like - import org.uddi4j.* and import java.util.Vector; and more.
    Ok, now the question! Is what I am trying to do stupid? If so, how should I do it? If its not stupid, how do I include all the extra import statements on the jsp page (there are about 10)
    Wow, sorry about the length of this post. I hope someone can understand my ramblings!
    Thanks,
    nmoog.

    Sorry, yeah...
    I am actually using the UDDI4J package, and it loads various settings with the
    config = Configurator.load(); (a seperate class to load stuff in with)
    The Configurator.Load method basically just does:
    config.load(new java.io.FileInputStream("samples.prop"));
    and then does System.setProperty() with the config.getProperty()
    values.
    I have a test class when I do "java Test" it runs and in the Main method just instantiates the MyWebService class and does the MyWebService.GetAWebServiceValue() which returns a string.
    As I said, this runs fine. But from the JSP code if I do the same thing it gets a NullPointerException.
    "java.lang.NullPointerException
    at java.util.Hashtable.put(Hashtable.java:389)
    at java.util.Properties.setProperty(Properties.java:102)
    at java.lang.System.setProperty(System.java:654)
    at Configurator.load(Configurator.java:43)"
    Why can it load okie-dokey from the test class, but not the jsp page? Any ideas?

Maybe you are looking for

  • I want to go back to Snow Leopard but I get "you have to install mac osx.app 23.1.1

    I have a new 21.5 iMac I just purchased July 9 so I was able to download Lion for free under the up-to-date program.  After installing Lion I decided I wanted to go back to Snow Leopard for various reasons. When I restart with the original Snow Leopa

  • User tables in XL Reporter.

    Hi all,    Can anyone tell me how i can create the report from user defined table in XL Reporter. Thanx in advance -Neetu M

  • Re-Arrange Folders In iTunes Folder

    All my music is located in my iTunes Music Folder. Each sub folder is an album. When I open my iTunes Music folder in Windows Explorer, there is a sub folder named Compilations, which holds other sub folders of complete albums. This is my question. I

  • Convert Code from MSSSQL7 to Oracle8

    Hi Is there any easy way or a tool to convert the sqlcode that's in Sqlserver7 to Oracle8 ?? Thanks -Vijaya null

  • Motion objects no longer in Motio's library

    After changing my Mac Pro login password, trying to solve an issue with Apple Talk, all particle emitters, replicators, shapes, gradients, and text styles disapeared from Motion library,,, I can find their folders in my Mac HD's Library, but not in m