Database content not showing in JSP page

hi guys,
I am having problems with showing the database content in a JSP page.
I check my database and see that the content do exists.
Can someone pls kindly advise.
Below is my code:
<TABLE BORDER=1 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD>Last</TD>
<TD>First</TD>
<TD>Phone</TD>
</TR>
<% try {
Class.forName("com.pointbase.jdbc.jdbcUniversalDriver");
Connection conn = DriverManager.getConnection("jdbc:pointbase:server://localhost:9092/hour17);
Statement st = conn.createStatement();
ResultSet rs = st.executeQuery("SELECT * FROM CONTACTTABLE");
while(rs.next()) {
     String last = rs.getString("LAST");
     String first = rs.getString("FIRST");
     String phone = rs.getString("PHONE"); %>
     <TR>
     <TD><%=last%></TD>
     <TD><%=first%></TD>
     <TD><%=phone%></TD>
     </TR>
<% }
     rs.close();
     st.close();
     conn.close();
} catch(Exception e) {
     System.out.println("Error: " + e.getMessage());
%>

pardon me but that is servlet tags or jsp tags?
I haven't touch much on jsp tags(custom) yet cos I was stuck with the JDBC part of JSP.
Thanks anyway.

Similar Messages

  • BLOB image not shows in JSP page!!

    Hi Dear all,
    I had tried to configure how to show BLOB image to jsp page . The code are works fine and servlet works ok but image can not show only. can you help me that what need to be added. Please help me.
    Can any experts help me? BLOB image not shows in JSP page. I am using ADF11g/DB 10gR2.
    My as Code follows:
    _1. Servlet Config_
        <servlet>
            <servlet-name>images</servlet-name>
            <servlet-class>his.model.ClsImage</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>images</servlet-name>
            <url-pattern>/render_images</url-pattern>
        </servlet-mapping>
      3. class code
    package his.model;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Iterator;
    import java.util.Map;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    import oracle.jbo.client.Configuration;
    import oracle.jbo.domain.BlobDomain;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    public class ClsImage extends HttpServlet
      //private static final Log LOG = LogFactory.getLog(ImageServlet.class);
      private static final Log LOG = LogFactory.getLog(ClsImage.class);
      public void init(ServletConfig config)
        throws ServletException
        super.init(config);
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response)
        throws ServletException, IOException
        System.out.println("GET---From servlet============= !!!");
        String appModuleName = "his.model.ModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleName");
        String appModuleConfig = "TempModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleConfig");
        String voQuery ="select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = 'P1000000000006'" ;// 'P1000000000006' this.getServletConfig().getInitParameter("ImageViewObjectQuery");
        String mimeType = "jpg";//this.getServletConfig().getInitParameter("gif");
        //?IMAGE_NO='P1000000000006'
        //TODO: throw exception if mandatory parameter not set
        ApplicationModule am =
          Configuration.createRootApplicationModule(appModuleName, appModuleConfig);
          ViewObject vo =  am.createViewObjectFromQueryStmt("TempView2", voQuery);
        Map paramMap = request.getParameterMap();
        Iterator paramValues = paramMap.values().iterator();
        int i=0;
        while (paramValues.hasNext())
          // Only one value for a parameter is expected.
          // TODO: If more then 1 parameter is supplied make sure the value is bound to the right bind  
          // variable in the query! Maybe use named variables instead.
          String[] paramValue = (String[])paramValues.next();
          vo.setWhereClauseParam(i, paramValue[0]);
          i++;
       System.out.println("before run============= !!!");
        // Run the query
        vo.executeQuery();
        // Get the result (only the first row is taken into account
        System.out.println("after run============= !!!");
        Row product = vo.first();
        //System.out.println("============"+(BlobDomain)product.getAttribute(0));
        BlobDomain image = null;
        // Check if a row has been found
        if (product != null)
          System.out.println("onside product============= !!!");
           // We assume the Blob to be the first a field
           image = (BlobDomain) product.getAttribute(0);
           //System.out.println("onside  run product============= !!!"+image.toString() +"======="+image );
           // Check if there are more fields returned. If so, the second one
           // is considered to hold the mime type
           if ( product.getAttributeCount()> 1 )
              mimeType = (String)product.getAttribute(1);       
        else
          //LOG.warn("No row found to get image from !!!");
          LOG.warn("No row found to get image from !!!");
          return;
        System.out.println("Set Image============= !!!");
        // Set the content-type. Only images are taken into account
        response.setContentType("image/"+ mimeType+ "; charset=windows-1252");
        OutputStream os = response.getOutputStream();
        InputStream is = image.getInputStream();
        // copy blob to output
        byte[] buffer = new byte[4096];
        int nread;
        while ((nread = is.read(buffer)) != -1)
          os.write(buffer, 0, nread);
          //System.out.println("Set Image============= loop!!!"+(is.read(buffer)));
        os.close();
        // Remove the temporary viewobject
        vo.remove();
        // Release the appModule
        Configuration.releaseRootApplicationModule(am, false);
    } 3 . Jsp Tag
    <af:image source="/render_images" shortDesc="Item"/>  Thanks.
    zakir
    ====
    Edited by: Zakir Hossain on Apr 23, 2009 11:19 AM

    Hi here is solution,
    later I will put a project for this solution, right now I am really busy with ADF implementation.
    core changes is to solve my problem:
        byte[] buffer = new byte[image.getBufferSize()];
        int nread;
        vo.remove();
        while ((nread = is.read(buffer)) != -1) {
          os.write(buffer);
        }All code as below:
    Servlet Code*
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response) throws ServletException,
                                                             IOException {
        String appModuleName =
          "his.model.ModuleAssetMgt";
        String appModuleConfig =
          "TempModuleAssetMgt";
      String imgno = request.getParameter("imgno");
        if (imgno == null || imgno.equals(""))
          return;
        String voQuery =
          "select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = '" + imgno + "'";
        String mimeType = "gif";
        ApplicationModule am =
          Configuration.createRootApplicationModule(appModuleName,
                                                    appModuleConfig);
        am.clearVOCaches("TempView2", true);
        ViewObject vo = null;
        String s;
          vo = am.createViewObjectFromQueryStmt("TempView2", voQuery);
        // Run the query
        vo.executeQuery();
        // Get the result (only the first row is taken into account
        Row product = vo.first();
        BlobDomain image = null;
        // Check if a row has been found
        if (product != null) {
          // We assume the Blob to be the first a field
          image = (BlobDomain)product.getAttribute(0);
          // Check if there are more fields returned. If so, the second one
          // is considered to hold the mime type
          if (product.getAttributeCount() > 1) {
            mimeType = (String)product.getAttribute(1);
        } else {
          LOG.warn("No row found to get image from !!!");
          return;
        // Set the content-type. Only images are taken into account
        response.setContentType("image/" + mimeType);
        OutputStream os = response.getOutputStream();
        InputStream is = image.getInputStream();
        // copy blob to output
        byte[] buffer = new byte[image.getBufferSize()];
        int nread;
        vo.remove();
        while ((nread = is.read(buffer)) != -1) {
          os.write(buffer);
        is.close();
        os.close();
        // Release the appModule
    Configuration.releaseRootApplicationModule(am, true);
    }Jsp Tag
    <h:graphicImage url="/render_images?imgno=#{bindings.ImageNo.inputValue}"
                                                        height="168" width="224"/>

  • Documents from Mac added to iCloud do not show up in Pages on iPhone 4S

    Synopsis: Dcouments added to iCloud through Safari on Mac do not show up in Pages on iPhone 4S. New documents created in Pages on iPhone do not show up in iCloud. I expect the doucments to appear on my iPhone soon after uploading them from my Mac to iCloud through Safari, and to appear in iCloud soon after switching to the document listing in Pages and leaving the app. Several hours passed by without transfer happening, and I have waited a day and reconnected to Wi-Fi to wait several more hours. Still nothing shows up either in Pages on iPhone, or in iCloud in Safari on Mac. They are listed with their sizes and extensions (.pages or .pages-tef) in the iPhone Settings > iCloud > Storage & Backup > Manage Storage > Pages, though they don't seem selectable from there.
    Software versions and Settings:
    Mac
    Mac OS X 10.7.2 (Lion)
    Safari 5.1.1
    Pages 4.1
    System Preferences > iCloud: signed in; everything selected, except Photo Stream (no iPhoto).
    Everything seems to work, except Find My Mac is flakey.
    iPhone 4S
    iOS 5.0
    Pages 1.5 (417) [no other iWork apps]
    Documents:
    the defualt "Getting Started";
    a test document with default name "Blank" and content with the word "Testing", shown with upwards arrow in upper right corner; tried renaming to "Just testing", no transfer resulted.
    Plus button + offers: Create Document; copy from iTunes, iDisk, WebDAV; no iCloud (probably because it's supose to be auto);
    Settings > Pages:
    Use iCloud: ON
    Restore: OFF; I have tried this, it automatically turns itself off after restarting Pages. No obvious changes result in Pages.
    Settings > Wi-Fi: ON, connected to a network; tried several networks around town, as well as at home with a Time Capsule router.
    Settings > iCloud:
    everything ON, except Photo Stream;
    Documents & Data:
    Documents & Data: ON
    Use Cellular: ON; also tried OFF initially.
    Storage & Backup:
    Manage Storage > Pages:
    three documents in iCloud are listed, one of which I had created before iCloud on iPhone 3GS, and deleted from iPhone 4S after documents added to iCloud from Mac weren't showing up as expected;
    their sizes are given;
    suffixes are .pages for the two created on Mac, and .pages-tef for the one created on iPhone 3GS (before iCloud);
    iCloud Backup: ON; successfully backs up everyday;
    Email works, contacts are synced, calendar works, and everything seems fine except access to documents.
    Approaches:
    Software updates
    Updated all software, no further updates available. Please confirm with aforementioned version numbers.
    Add and Remove Documents
    Used Safari to add two documents to iCloud with its menu for Pages of iCloud's iWork section, one at a time. Documents were originally created in Pages on Mac, and continuously edited since then. Explicitly saved documents (Save a Version on Lion) before uploading. Documents appeared listed in web page without problem.
    Have tried deleting a document on iPhone that was originally created with Pages on iPhone 3GS prior iOS 5 as a way to jog the listing on iCloud. Listing on iCloud in Safari on Mac continues to show document deleted from iPhone. [Before deleting document, I had updated iPhone 3GS to iOS 5 and signed into iCloud a couple days before getting iPhone 4S, then immediately used the restore from iCloud feature for the iPhone 4S in the Apple retail store, updated all apps on Mac and iPhone, then deleted the document in Pages on iPhone.]
    On iCloud in Safari on Mac: deleted the two documents uploaded from Mac; added the same documents again; edited documents on Mac, then uploaded and chose "Replace documents"; removed documents again; added them again. Never showed up in Pages on iPhone, even after waiting a day.
    Have used iTunes to add the same documents to Pages on iPhone. Successfully opened documents in Pages on iPhone through plus button + > Copy from iTunes. Deleted documents from Pages's document listing, though they remain in iTunes section.
    Removed documents of same name, though older copies, from Pages in iTunes for the iPhone.
    Created a new document with Pages on iPhone, simply added one word "Testing" and then switched to document listing. New document has name "Blank" and an arrow in the upper right corner indicating it will upload next time an internet connection is established. That hasn't happened regardless of being connected to Wi-Fi and cellular for several hours. Next day, reconnected to internet with both Wi-Fi and cellular, the new dcoument "Blank" still is not in iCloud when I visit the site in Safari on Mac, and still has the arrow in the upper right corner in Pages on iPhone.
    iPhone 4S Connected to Internet
    Connected to Wi-Fi several hours each day, and cellular all day except from about 10pm to 7am when I switch it to Airplane mode. Always connected to Wi-Fi and cellular when attempting to access the documents in Pages on iPhone.
    Restart iPhone and Pages
    Have double-pressed Home button on iPhone to reveal along the bottom of screen a list of apps currently open, touched and held an icon to reveal the close badge on all icons, and selected the close badge on Pages, waited a few seconds, then started Pages again.
    Have held On/Off button until "slide to power off" appears, then powered off iPhone, waited a few seconds, then held button again to start. Have done this with Pages either open or closed, per previous note. Still no change in document listing for Pages: test document still has not gone to iCloud, documents in iCloud still have not shown.
    I think the only thing I haven't done is a complete restore.
    Question: Can anybody point out what I might have missed or haven't tried that would get the documents from iCloud to Pages and vice versa?
    I'm not looking forward to several hours of restoring, but if I must…
    TIA

    Okay, I'm not sure what finally jogged it. It seems to be finally working.
    After downloading any documents I could from iCloud to my Mac, I deleted all the documents from iCloud. I also deleted all documents from Pages on iPhone, except the original "Getting Started" document.
    I duplicated the "Getting Started" document (Pages on iPhone) and edited it by moving the butterfly to the left on the same page, then switched to the Documents view. It had the arrow in the upper right corner of "Getting Started Copy", but no progress bar and nothing showed up in iCloud.
    Then, I think I went to Settings > Pages > Use iCloud: NO. Went back to Pages and got a dialog in the Documents listing:
         You are not using iCloud
    What would you like to do with the
         documents currently on this
                        iPhone?
    Keep on My iPhone
    Delete from My iPhone
    Continue Using iCloud
    I tried keeping them, then going back and turning it back on in Pages's settings, then going back to Pages. Finally something different happened: a progress bar on the "Getting Started copy" document. It never seem to finish, and would disappear if the phone went to sleep. I tried the whole sequenece again with same result, and nothing on iCloud.
    I then tried Settings > iCloud > Documents & Data: OFF, and agreed to "Turn Off Documents" and have all documents stored in iCloud deleted, because as far as I could tell there weren't any documents in iCloud at this point anyways. I went back to Pages and the "Getting Started copy" suddenly disappeared.
    So, I went back to Settings > iCloud > Documents & Data: ON, and did the same for Settings > Pages > Use iCloud: ON. Oddly, Pages now tried to download "Getting Started copy" even though it really shouldn't have existed anymore. I tried iCloud in Safari on Mac and saw there now was a document by that name, but when selected it said "Updating…" on it. I deleted it in iCloud, and it disappeared (I think, or I deleted it) in Pages on iPhone.
    I gave up and waited a bit, maybe an hour or two.
    I made sure all the settings were how they needed to be, noticed no documents in iCloud, and only the original "Getting Started" document in Pages on iPhone. I duplicated that document, and that's when it seemed to actually work. First, the arrow in its upper right corner appeared briefly, then a progress bar appeared on it instead, then the progress bar actually moved and completed. (I think. Some indicator happened. Everything is kind of fuzzy at this point while I'm writing this and juggling a couple other technical tasks.) Then I checked iCloud in Safari on Mac and the document was there. Wow.
    So, I immediately tried uploading to iCloud from my Mac the two documents I had been trying, one at a time. Each time the document succeeded in iCloud, it suddenly appeared in Pages on iPhone. In fact, the second document began to appear in the documents listing in Pages on iPhone just before the progress bar in iCloud completed.
    I tried opening each one in Pages on iPhone, and iCloud immediately updated each one with a preview and as downloadable. I downloaded them to the Mac and they opened fine. [Admittedly, the Pages version from iCloud of the "Getting Started copy" with the moved butterfly was a little different in Pages on Mac: it had the butterfly on the previous page underneath everything; the PDF version of that document had everything correct.]
    Anyways, the document listing between iCloud and Pages on iPhone is working now.
    I thinking it might have helped to clear out all the documents in iCloud and deleting all documents in Pages for iPhone. However, be sure to at least email copies from Pages on iPhone first if you don't have any backups. I think it might also have helped to turn off Settings > iCloud > Documents & Data: OFF, so it'll send that signal to delete the documents in iCloud, even if there's already nothing there. I don't know for sure, but that's probably the way to start from scratch. Oh, and maybe wait an hour or two after that before doing anything again, then turn Documents & Data: ON, and Pages > Use iCloud: ON, and then start by creating a new document in Pages on iPhone.
    I'm just glad I didn't have to do a Restore from iTunes. And now that it's working, it's so instant between Pages on iPhone and iCloud! This is seeming like it will definitely be great, now that it's working.

  • Getting image path from database( Remote server)  & display in jsp page

    hai frnds,
    i have one doudt regarding in my web application Development
    . I want to Getting image path from database( **Remote server**) & display in jsp page here iam forwarding my control through Servlets
    how this will passiable
    Thanks in Advance
    SonyKamesh
    [email protected]

    hai
    I think ur doubt will be...
    1) Getting a Image From Remote Server( & U stored a only path name in Data Base)
    2) Image r stroed in saparate Drive( Not in Webroot-- where u Created domine )
    Please Any Help Will be Appriciated
    [email protected]
    Edited by: Sonykamesha on Dec 18, 2007 11:02 PM

  • ? how to add page numbers in pages 5.2, starting with 2.  Pages '09 had an option to not show folio on page one.  Also any how to do left and right folios for a Tabloid?  Many trhanks

    ? how to add page numbers in pages 5.2, starting with page 2.  Pages '09 had an option to not show folio on page one.  Also any idea how to do left and right folios for a Tabloid?  Many thanks  . . .

    Hello jacquemac,
    Your first question:
    There might be a better way of achieving what you wish to do, but following these steps could help you out.
    You might want to blend in Thumbnails and Invisibles either with (cmd+shift+i and cmd+alt+p) or over the View section in the Menubar.
    1. go for Documents (right end of the Toolbar) -> Section
    2. place your cursor at the very top of your second page and click "Create new Section->Starting with this page" in the side bar on your right.
    (what you are actually doing next is setting the pagenumbers for each section you created. You can see your sections in the Thumbnail view.)
    3. click on your first page (the first and only page of your first section) and mark the checkbox "Hide on first page of section"
    4. click on your second page (the first page of your second section) and  "Insert page number" -> start at 1
    Your second question:
    Im not quite sure i understand what exactly you want to do here. One page, two columns, each column with another page number? As far as i know this is not possible.
    greetings jl

  • Garamond font is turned off. I restored it but it's not showing up in Pages. How do I correct this problem?

    Garamond font is turned off when I installed OS X Mavericks. I restored it but it's not showing up in Pages. How do I fix this problem?

    Try opening up:
    /Applications/Font Book
    Scroll to the Garamont Font, then try File > Validate font
    If this doesnt work, right click (or control + click) the font and select show in finder. Makes sure it is not located in the /Library/Disabled Fonts/   folder

  • Shared Services database content not found in the specified database."

    Trying to configure Version 11 and get the error: "Shared Services database content not found in the specified database". Relevant details on my issue as below:
    - I'm running Windows 7 and SQL Server 2008 on my local machine.
    - I did have a previous installation of Hyperion 9 on my machine which I uninstalled before installing 11. However, after uninstalling, I could still see the Hyperion EPM (empty folders) in my "All Programs", which I manually deleted.
    - Now I've installed Essbase 11, and for now am trying to configure Hyperion Foundation only (Common Settings and Configure Database is greyed out, I checked deploy to applicaiton server. I left the calculation manager and workspace blank).
    - The next window is the "Configure Shared Services and Database Registry" option. I chose "Perform 1st time Configuration of Shared Services Database". When I enter the relevant details, I got the error mentioned above. My error log file entries are as below:
    (Jul 14, 2010, 02:10:50 PM), com.hyperion.hit.registry.Registry, ERROR, Exception when trying to store the component
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:546)
         at java.util.ArrayList.get(ArrayList.java:321)
         at com.hyperion.hit.registry.JDBCRegistryUtils.storeComponent(JDBCRegistryUtils.java:612)
         at com.hyperion.hit.registry.JDBCRegistryUtils.saveComponent(JDBCRegistryUtils.java:166)
         at com.hyperion.hit.registry.Registry.storeComponent(Registry.java:2749)
         at com.hyperion.hit.registry.Registry.getInstance(Registry.java:353)
         at com.hyperion.config.wizard.impl.RegistryWizardRule.validate(RegistryWizardRule.java:66)
         at com.hyperion.cis.config.wizard.adapter.WizardFormAdapterPanel.queryEnter(WizardFormAdapterPanel.java:80)
         at com.installshield.wizard.awt.AWTWizardUI.currentBeanChanged(Unknown Source)
         at com.installshield.wizard.swing.SwingWizardUI.currentBeanChanged(SwingWizardUI.java:842)
         at com.installshield.wizard.StandardWizardListener.currentBeanChanged(Unknown Source)
         at com.installshield.wizard.Wizard$RunThread.run(Wizard.java:1822)
    (Jul 14, 2010, 02:11:08 PM), com.hyperion.cis.config.wizard.adapter.WizardFormAdapterPanel, ERROR, Shared Services database content not found in the specified database.
    (Jul 14, 2010, 02:11:58 PM), com.hyperion.cis.config.wizard.adapter.WizardFormAdapterPanel, ERROR, Shared Services database content not found in the specified database.
    I believe version 11 supports Windows 7, but correct me if I'm wrong. What's going on here? Any suggestions on what I should try ?

    Actually when I installed version 9, I never got around to configuring shared services and so never had a shared services database in SQL Server to begin with.
    One question about the registry entry you told me to delete: The (HKEY_LOCAL_MACHINE\SOFTWARE\Hyperion Solutions) which currently exists would be the entry for version 11 which I have installed right? It's the only entry for Hyperion Solutions in the registry.
    After uninstalling versino 9, C:/hyperion still existed on my machine (though it didnt have all the subfolders which it did prior to uninstalling), so I manually deleted it before installing verison 11.
    I wouldn't mind installing it on a compatible version of windows, but the thing is that at this point this is all that is available to me.
    and I don't have any other oracle products.
    thanks....

  • Shared Services database content not found in the specified database - EPM

    I installed three VM machines (Workstation) for the following on Windows 2003 OS:
    VM1 : Oragle DB 11g, Shared Services. Workspace
    VM2 : Financial Management, EPMA, Calc Manager
    VM3 : Microsoft Active Directory
    I have configured Database and Shared services successfully and all machines talk to one another.
    Also, I created the appropriate table spaces for the Hyperion products with the right access on the database. And, I am able to connect from the client (VM 2 to the Database VM 1)using SQLplus.
    When I tried to configure Financial Management, using the EPM System Configurator and put in the following values:
    Database Type: Oracle
    Server: VMDatabase (Name of VM1)
    Port: 1521
    SID ORCL
    Username: HFM
    password: *********
    It returned the error message: "*Shared Services database content not found in the specified database*"
    Can someone please help on what I need to check, Please!?
    Thanks for your time.
    K

    Hi,
    Information from Oracle Support:
    Shared Services database content not found in specified database
    Cause
    There is a flag in the shared services repository that indicates the shared services database is to be used as a registry. If that flag is not set, the configtool will not re-configure the database as a shared services repository.
    Solution
    Note: Make sure the Shared Services repository is backed up before doing any Shared Services Registry changes.
    The registry flag isRegistryDB must exist and be set to true on the Shared Services Database Connection.
    epmsys_registry.bat VIEW DATABASE_CONN
    Find the shared services database registry entry. The entry in bold will be missing. The italicized item is the 'unique_id' referenced later (different in each installation).
    COMPONENT - 3
    NAME - Database:ORCL:HSS
    ID - +11d1def534ea1be07ad8eb3012d2e3d310a7ff4+
    TYPE - DATABASE_CONN
    HOST - Database
    HYPERION HOME - /home/hypadmin/Oracle/Middleware/EPMSystem11R1
    PROPERTIES -
    isRegistryDB = true
    dbUserName = HSS
    dbJDBCDriverProperty = oracle.jdbc.OracleDriver
    dbJdbcUrl = jdbc:oracle:thin:@Database:1521:ORCL
    registryDatasource = EPMSystemRegistry
    registryDatasourceJNDI = jdbc/EPMSystemRegistry
    dbName = ORCL
    version = 9.5.0.0
    dbPort = 1521
    instance_home = /home/hypadmin/Oracle/Middleware/user_projects/epmsystem1
    dbPassword = GABaMyyplja+wLNCmLs8ag==
    Run the following update to populate the isRegistryDB flag with the unique_id being the ID field used in the DATABASE_CONN registry entry.
    epmsys_registry.bat addproperty #unique_id/@isRegistryDB true
    Repeat the epmsys_registry VIEW DATABASE_CONN to make sure the flag is now set.
    You will be able to reconfigure the shared services repository.
    You can mark it as Answer/Helpful if you feel so.
    Cheers!
    J

  • I have a friend who is not very savvy with computers. He works on a PC. (There may be versions for pc OS versions) I use a Mac-your website will not show the PC pages to me. How can I find the proper URL to embed in a button?

    I have a friend who is not very savvy with computers. He works on a PC. (There may be versions for pc OS versions) I use a Mac-your website will not show the PC pages to me. How can I find the proper URL to embed in a button?

    Try going to the following
    Tools->Web Developer-> Page Source.
    You can also access this by way of keyboard shortcut Ctrl + U
    The View Page Source option is also available via the right-click menu by just right-clicking inside the page window & it will be the penultimate menu item.

  • I want to upload a Banner to my iTunes U page. The banner file has all the requirements like as, kind, size, frame, and etc. Infortunately,  I could not upload the file. It does not show in Provider Page Configuration or the preview.   Someone could help

    I want to upload a Banner to my iTunes U page.
    The banner file has all the requirements like as, kind, size, frame, and etc.
    Infortunately,  I could not upload the file. It does not show in Provider Page Configuration or the preview.
    Someone could help me?

    Sounds like a driver issue. I never tested in bridge, so I could be wrong. But it sounds to me that when you are connected to that screen, your settings are not set to the full resolution of that screen.

  • My app store will not show the update page. Any suggestions?

    My app store app will not show the update page. Any suggestions?

    You haven't told us which version of iOS you're running.
    Anyway, is it restricted?  Check Settings > General > Restrictions

  • HT4623 How can I update ios if "software update" option is not showing on the page "General"?  On my Iphone, it only show "About" and "Usage" next to each other.

    How can I update iOS 4.2.1 to the latest iOS if "software update" option is not showing on the page "General"? On my Iphone, it only show "About" and "Usage" . Please help.

    See the chart below to determine whether you can upgrade your device and what you can upgrade to.
    IPhone, iPod Touch, and iPad iOS Compatibility Chart
         Device                                       iOS Verson
    iPhone 1                                      iOS 3.1.3
    iPhone 3G                                   iOS 4.2.1
    iPhone 3GS                                 iOS 6.1.x
    iPhone 4                                      iOS 6.1.x
    iPhone 4S                                    iOS 6.1.x
    iPhone 5                                      iOS 6.1.x
    iPod Touch 1                               iOS 3.1.3
    iPod Touch 2                               iOS 4.2.1
    iPod Touch 3                               iOS 5.1.1
    iPod Touch 4                               iOS 6.1.x
    iPod Touch 5                               iOS 6.1.x
    iPad 1                                          iOS 5.1.1
    iPad 2                                          iOS 6.1.x
    iPad 3                                          iOS 6.1.x
    iPad 4                                          iOS 6.1.x
    iPad Mini                                     iOS 6.1.x
    =====================================
    Select the method most appropriate for your situation. If you are trying to upgrade to iOS 5 or higher, then you will have to connect your device to your computer and open iTunes in order to upgrade.
    Upgrading iOS
       1. How to update your iPhone, iPad, or iPod Touch
       2. iPhone Support
       3. iPod Touch Support
       4. iPad Support
         a. Updating Your iOS to Version 6.0.x from iOS 5
              Tap Settings > General > Software Update
         If an update is available there will be an active Update button. If you are current,
         then you will see a gray screen with a message saying your are up to date.
         b. If you are still using iOS 4 — Updating your device to iOS 5 or later.
         c. Resolving update problems
            1. iOS - Unable to update or restore
            2. iOS- Resolving update and restore alert messages

  • Submitted content via UCM not showing up (blank page) in Oracle Webcenter

    Hi All,
    Once in a while (1/10, recently more and more), when users in our system Database Version:10.2.0.3.0 ---Oracle Database 10g Enterprise - UCM/Webcenter uploads new content via UCM or updating an existing content, they experience a blank page on the corresponding Webcenter page, i.e. all metadata on that content page in Webcenter appears to be blank.
    In UCM the content metadata and all downloads are uploaded successfully. Our workaround is to enter the content via UCM and submit it without any changes to its metadata fields (blank submit). Sometimes, it takes more then one blank submit.
    Another problem that might be related to this is downloads related items of the parent record on the content getting zero size length on Webcenter. Again, our workaround for this is to blank submit the related items via UCM, or re-upload these downloads via UCM so they be downloadable in Webcenter side.
    If more info needed for this please let me know.
    Please provide your input.
    Thanks,
    Alex.

    I probably didn't explain myself. We have two UCM instances: contribution and consumption. UCM contribution instance used to submit/update new/existing contents. These content aren’t available immediately on the Oracle Webcenter, instead, these contents replicated to the UCM consumption instance and available from there to Oracle Webcenter.
    We never update/create new content via UCM consumption.
    So, if for instance I've updated content xyz on UCM contribution, these changes are replicated to UCM consumption and then Oracle Webcenter can retrieve the info from content xyz and present this corresponding page.
    I think the issue with blank pages (metadata fields - HCSP forms) or zero size download files has something to do with replication between UCM instances.
    To fix this issue, we just submitting (blank submit - without changing any field) the form via UCM contribution instance, or we have to upload the same file again for it to replicate.

  • Images are not updated in jsp page

    Hi experts,
    I have developed a website for show events and display images of the event, when the user saves the title of the event and event content these things are go to database and at the same time i am creating a directory on the server in which user can upload manually(as user's demand).
    but after pasting the images in the directory when i test for the image page, the content and title are shown(content and title are coming from database) but images are not, images are shown after minutes. I have checked that image's path are right. And when i type same path on the address box of my browser, it shows...
    The requested resource (/xxxxn/image/NewsImg/xxxxxx) is not available.But after minutes, like 30 to 40 or after i restart my system, it is showning me.
    I have disabled the page cache of my jsp pages.. but problem remain. i am using tomcat 6.0.26 for testing.
    Please guide me how can i resolve this issue.
    Thanks
    Shams

    Ha ha ha,
    I have done it myself...
    what i am doing is to, generate a random number by using random class and attach it with image's path like "url rewriting" technique. Like this:
    Random ran = new Random();
    String imgPath = "./img/img_file_name?" +ran.nextInt(99999);and pass this to the "img" element of html.
    I think that this trick forces browser to recollect the data from server and not to use cached data.
    But my question with experts is that... I have used on jsp page these code:
    response.setHeader( "Pragma", "no-cache" );
    response.setHeader( "Cache-Control", "no-cache" );
    response.setDateHeader( "Expires", 0 );to tell browser not to catch my page, then why browser is caching my page??
    Thanks
    Shams

  • HTML multipart form is not working in jsp page

    Hi
    i have jsp page, has a HTML from with file upload field , when i click the send button , nothing happened as if the button did not submit the form. ie the message at line 12 is not printed out.
    can any one help please.
    <%@ page errorPage="..\error\error.jsp" %>
    <%@ page pageEncoding="windows-1256" %>
    <%@ page language="java" import="javazoom.upload.*,java.util.*,java.sql.ResultSet" %>
    <jsp:useBean id="upBean" scope="page" class="javazoom.upload.UploadBean" >
      <jsp:setProperty name="upBean" property="folderstore" value="<%=request.getRealPath("thuraya//uploads")%>"  />
    </jsp:useBean>
    <jsp:useBean id="dbc" class="mypackage.DBConnection" scope="session" />
    <!-- add news-->
    <%
    if(request.getParameter("addBTN") != null){
            out.println("addbtn");
            //do upload file + insert in database
             if (MultipartFormDataRequest.isMultipartFormData(request))
             // Uses MultipartFormDataRequest to parse the HTTP request.
             MultipartFormDataRequest mrequest = new MultipartFormDataRequest(request);
             String todo = null;
             if (mrequest != null) todo = mrequest.getParameter("todo");
                 if ( (todo != null) && (todo.equalsIgnoreCase("upload")) )
                    Hashtable files = mrequest.getFiles();
                    if ( (files != null) && (!files.isEmpty()) )
                        UploadFile file = (UploadFile) files.get("filename");
                        if (file != null)
                                            out.println("<li>Form field : uploadfile"+"<BR> Uploaded file : "+file.getFileName()+" ("+file.getFileSize()+" bytes)"+"<BR> Content Type : "+file.getContentType());
                                            String fileName=file.getFileName();
                                            String ran=System.currentTimeMillis()+"";
                                            String ext=fileName.substring(   ( fileName.length()-4),fileName.length() );
                                            file.setFileName(ran+ext);
                        // Uses the bean now to store specified by jsp:setProperty at the top.
                        upBean.store(mrequest, "filename");
                                            String title=request.getParameter("title");
                                            String content=request.getParameter("elm1");
                                            int x=dbc.addNews(title,content,file.getFileName(),2,1);
                                            if(x==1)
                                                     out.print("New Vedio has been addedd Successfully");
                                                      response.setHeader("Refresh","1;URL=uploadVedio.jsp");
                                                     else{
                                                      out.print("An Error Occured while adding new Vedio");
                                                      response.setHeader("Refresh","1;URL=uploadVedio.jsp");
                    else
                      out.println("<li>No uploaded files");
             else out.println("<BR> todo="+todo);
    %>
    <!-- end of add news-->
    <form action="" method="post" enctype="multipart/form-data" name="upform" >
      <table width="99%" border="0" align="center" cellpadding="1" cellspacing="1">
        <tr>
          <td colspan="2" align="right" bgcolor="#EAEAEA" class="borderdTable"><p>'6'A) .(1 ,/J/</p></td>
        </tr>
        <tr>
          <td width="87%" align="right"><label>
            <input name="title" type="text" class="rightText" id="title">
          </label></td>
          <td width="13%" align="right">9FH'F 'D.(1</td>
        </tr>
        <tr>
          <td align="right"><textarea name="elm1" cols="50" rows="10" id="elm1" style="direction:rtl" >
              </textarea></td>
          <td align="right">*A'5JD 'D.(1</td>
        </tr>
        <tr>
          <td align="right"><label>
            <input type="file" name="filename" id="filename">
          </label></td>
          <td align="right">5H1)</td>
        </tr>
        <tr>
          <td align="right"><label>
            <input onClick="submit()" name="addBTN" type="button" class="btn" id="addBTN" value="  '6'A) .(1 ">
          </label></td>
          <td align="right"> </td>
        </tr>
      </table>
    </form>
    <!-- TinyMCE -->
    <script type="text/javascript" src="jscripts/tiny_mce/tiny_mce.js"></script>
    <script type="text/javascript">
            tinyMCE.init({
                    mode : "textareas",
                    theme : "simple",
                    directionality : "rtl"
    </script>
    <!--end of TinyMCE -->

    the problem is not because of java code insdie jsp page
    I have removed all things but the form and it is still not working
    here is the modified code:
    <!-- add news-->
    <%
    if(request.getParameter("addBTN") != null){
            out.print("addBTN");
    %>
    <!-- end of add news-->
    <form action="" method="post" enctype="multipart/form-data" name="upform" >
      <table width="99%" border="0" align="center" cellpadding="1" cellspacing="1">
        <tr>
          <td colspan="2" align="right" bgcolor="#EAEAEA" class="borderdTable"><p>'6'A) .(1 ,/J/</p></td>
        </tr>
        <tr>
          <td width="87%" align="right"><label>
            <input name="title" type="text" class="rightText" id="title">
          </label></td>
          <td width="13%" align="right">9FH'F 'D.(1</td>
        </tr>
        <tr>
          <td align="right"><textarea name="elm1" cols="50" rows="10" id="elm1" style="direction:rtl" >
              </textarea></td>
          <td align="right">*A'5JD 'D.(1</td>
        </tr>
        <tr>
          <td align="right"><label>
            <input type="file" name="filename" id="filename">
          </label></td>
          <td align="right">5H1)</td>
        </tr>
        <tr>
          <td align="right"><label>
            <input name="addBTN" type="submit" class="btn" id="addBTN" value="  '6'A) .(1 ">
          </label></td>
          <td align="right"> </td>
        </tr>
      </table>
    </form>
    <!-- TinyMCE -->
    <script type="text/javascript" src="jscripts/tiny_mce/tiny_mce.js"></script>
    <script type="text/javascript">
            tinyMCE.init({
                    mode : "textareas",
                    theme : "simple",
                    directionality : "rtl"
    </script>
    <!--end of TinyMCE -->

Maybe you are looking for

  • IPhone, calender, iCal, mail.app: probem inviting people to meeting

    Hi everyone, last night I downloaded the 3.0 Version. Everything runs fine but... I tried the new feature to invite people to appointments in calender. On the first sight everything works fine. But then there where Problems. My colleague received my

  • Numbering of Footnotes in Pages 5.0.1

    I have 4 footnotes (data sources) in a one page document in Pages 5.0.1.  I have about 20 lines of text, mostly in bullet form.  Is there any way to reference the 4 footnotes in some cases repeatedly and not in sequential order. For example,  Text li

  • How To Get the Properties in the Configuration File

    I have a configuration file in the class path. the content of the file rough looks like below: DISABLE_PASSWORDLESS_AUTH = true REQUIRE_ACTIVATION = false ENABLE_RSS = true ENABLE_WATCH = true ENABLE_ATTACHMENT = true MAX_ATTACHMENT_SIZE = 1024 ENABL

  • Language Problem In Oracle?

    Hi, I have installed oracle 10.2.0.1 DB on Windows XP Professional.I set the following parameters related to database language and character set while creating the DB. NLS_LANGUAGE AMERICAN NLS_TERRITORY AMERICA NLS_CHARACTERSET RU8PC866 NLS_NCHAR_CH

  • Account payable

    Hi Experts, WIll any one pleasee xplain what is accounts payable / What is the full life cycle of accounts payable.Would be thankful if u cud explain me the flow BR, KK