Who can explain inner class to me?

//InheritInner.java
//Inheriting an inner class
class WithInner
     class Inner{
          Inner()
          {System.out.println("Inner class");
     WithInner()
     {System.out.println("WithInner");}
public class InheritInner extends WithInner.Inner
     //!InheritInner(){}//Won't compile
     InheritInner(WithInner wi)
          wi.super();
     public static void main(String[] args)
          WithInner wi=new WithInner();
          InheritInner ii=new InheritInner(wi);
Who can explain this subclass constructor to me?
I appreciate your help!

Here's the class that in 'Thinking in Java'. For some reason, yours is completely different.
//: InheritInner.java
// Inheriting an inner class
class WithInner {
  class Inner {}
public class InheritInner
    extends WithInner.Inner {
  //! InheritInner() {} // Won't compile
  InheritInner(WithInner wi) {
    wi.super();
  public static void main(String[] args) {
    WithInner wi = new WithInner();
    InheritInner ii = new InheritInner(wi);

Similar Messages

  • Who can explain the message server string in the OSS connection ?

    Who can explain the message server string in the OSS connection ?  
    For example:
    MSG SERVER FIELD IS:
    /H/128.168.0.28/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001
    What is the mean to each field in the string?
    What does the first "/H" mean?
    What does the second "/H" mean?
    What does the third "/H" mean?
    What does the first "/S" mean?
    What does the second "/S" mean?
    What does "/oss001" mean?
    Thanks .

    Hi,
    when you define  techinacal settings in tcode OSS1
    Transaction OSS1 -> Parameter -> Technical Settings -> Change -> Save. The SAPOSS destination is only automatically updated when you save.
    /H indicate server
    /S indicate Service
    check following SAP note
    Note 33135 - Guidelines for OSS1
    regards,
    kaushal

  • Who can explain how EJB connect to Oracle9i DB with DataSource?

    I have taken 4 days into this problem. I am developing EJB with J2EE1.3 and Oracle9i DB, I can connect to DB in code with DriverManager. But I want to use DataSource to connect to DB. I failed, I can not get new way to resolve it when I after try to connect with javax.sql.DataSource, oracle.jdbc.pool.OracleDataSource and oracle.jdbc.pool.OracleConnectionPoolDataSource.
    I have got different Exceptions when I coding different ways:
    one is:
    Caught an exception.
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
    java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: U
    nable to connect to database. com.sun.enterprise.resource.JdbcDataSource; nested
    exception is:
    javax.ejb.EJBException: Unable to connect to database. com.sun.enterpris
    e.resource.JdbcDataSource
    java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: Unable to
    connect to database. com.sun.enterprise.resource.JdbcDataSource; nested excepti
    on is:
    javax.ejb.EJBException: Unable to connect to database. com.sun.enterpris
    e.resource.JdbcDataSource
    javax.ejb.EJBException: Unable to connect to database. com.sun.enterprise.resour
    ce.JdbcDataSource
    <<no stack trace available>>
    the Other is:
    Caught an exception.
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
    java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: U
    nable to connect to database. makeConnection:Io Exception: Connection refused(DESCRIP
    TION=(TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4)
    ))); nested exception is:
    javax.ejb.EJBException: Unable to connect to database. makeConnection:Io
    Exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_
    STACK=(ERROR=(CODE=12505)(EMFI=4))))
    java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: Unable to
    connect to database. makeConnection:Io Exception: Connection refused(DESCRIPTION=(TM
    P=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4)))); nes
    ted exception is:
    javax.ejb.EJBException: Unable to connect to database. makeConnection:Io
    Exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_
    STACK=(ERROR=(CODE=12505)(EMFI=4))))
    javax.ejb.EJBException: Unable to connect to database. makeConnection:Io Exception: C
    onnection refused(DESCRIPTION=(TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(E
    RROR=(CODE=12505)(EMFI=4))))
    <<no stack trace available>>
    My codes related are:
    private void makeConnection() throws NamingException, SQLException {
    try{
    InitialContext ic = new InitialContext();
    OracleConnectionPoolDataSource ocpds = (OracleConnectionPoolDataSource) ic.lookup(dbName);
    PooledConnection pc = ocpds.getPooledConnection();
    con = pc.getConnection();
    }catch(SQLException ex){
    throw new SQLException("makeConnection:" + ex.getMessage());
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    con = DriverManager.getConnection(
    "jdbc:oracle:thin:@172.28.200.43:1521:shcd",
    "lijun", "xiaotian"); */
    public void setEntityContext(EntityContext context) {
    this.context = context;
    try {
    makeConnection();
    } catch (Exception ex) {
    throw new EJBException("Unable to connect to database. " +
    ex.getMessage());
    I believe I set JNDI and config EJB right, because I can run it with Cloudscape DB all right.
    who can tell me where is my WRONG, or tell me how to connect to Oracle9i DB?

    Hi Jhlijun,
    I am facing the same problem at the moment. However, I am not using a pooled connection. The following is my code. I am trying to connect a stateless session bean to an Oracle 9i database with result being fed back to a jsp page.
    package Test;
    import javax.naming.*;
    import java.sql.*;
    import java.util.*;
    import javax.ejb.*;
    import javax.sql.DataSource;
    import javax.sql.*;
    public class TestSessionEJBbean extends java.lang.Object implements javax.ejb.SessionBean
    String q="Select NAMETITLE,NAMEFIRST,NAMELAST from People where PeopleRSN<100";
         protected boolean create() throws java.lang.Exception
    return true;
    public TestSessionEJBbean()
    {   // EJB constructors don't have a server context.
    private void unhandledEvent( String listenerName, String methodName, java.lang.Object event )
    // method for interface javax.ejb.SessionBean
    public void ejbActivate() throws javax.ejb.EJBException, java.rmi.RemoteException
    // To Do
    // method for interface javax.ejb.SessionBean
    public void ejbPassivate() throws javax.ejb.EJBException, java.rmi.RemoteException
    // To Do
    // method for interface javax.ejb.SessionBean
    public void ejbRemove() throws javax.ejb.EJBException, java.rmi.RemoteException
    // To Do
    // method for interface javax.ejb.SessionBean
    public void setSessionContext( javax.ejb.SessionContext parm0 ) throws javax.ejb.EJBException, java.rmi.RemoteException
    this._sessionContext = parm0;          // generated helper code
    // To Do
    * Test Method
    public String Test() throws javax.ejb.EJBException
    return "Hi! I am the SessionEjbBean.";
    * Session Context of this EJB.
    * Set in 'setSessionContext()' before any 'ejbCreate()' is executed.
    private javax.ejb.SessionContext _sessionContext;
    * ejbCreate Method
    public void ejbCreate() throws javax.ejb.EJBException, javax.ejb.CreateException
    try {
    create(); // This 'create()' is used for internal initialization.
    catch( java.lang.Exception __e) {
    System.err.println( __e.toString() + " " + __e.getMessage() );
    // TODO: implement
    * getDBConnection Method
         public sun.jdbc.rowset.CachedRowSet getDBConnection() throws javax.ejb.EJBException
         String testPrint = "Starting...";//Only to check output
         Connection conn;
         sun.jdbc.rowset.CachedRowSet crset=null;
         try {
              testPrint += "before new InitialContext()....";//Only to check output
              InitialContext ic = new InitialContext();
              DataSource ds = (DataSource)ic.lookup("java:comp/env/jdbc/coquit");
              testPrint += "before ds.getConnection()....";//Only to check output
              conn = ds.getConnection("coquit","coquit");          
                   testPrint += "before conn.createStatement()....";
                   Statement stmt=conn.createStatement();
                   testPrint += "before stmt.executeQuery(....)";
                   ResultSet rset = stmt.executeQuery(q);
                   testPrint += "before new sun.jdbc.rowset.CachedRowSet()";     
                   crset = new sun.jdbc.rowset.CachedRowSet();
                   testPrint += "before crset.populate(rset)";
                   crset.populate(rset);
                   rset.close();
                   stmt.close();
                   conn.close();
         } catch (NamingException ne) {
         System.out.println("TestSessionEJBbean::getDBConnection Naming Exception " + ne);
         }catch (Exception e){
         System.out.println(testPrint+"...TestSessionEJBbean::getDBConnectionException" + e);
         System.out.println("\n\n");
         e.printStackTrace();
         return crset;

  • Topic: Who can explain how EJB connect to Oracle9i DB with DataSource?

    I have taken 4 days into this problem. I am developing EJB with
    J2EE1.3 and Oracle9i DB, I can connect to DB in code with
    DriverManager. But I want to use DataSource to connect to DB. I
    failed, I can not get new way to resolve it when I after try to
    connect with javax.sql.DataSource,
    oracle.jdbc.pool.OracleDataSource and
    oracle.jdbc.pool.OracleConnectionPoolDataSource.
    I have got different Exceptions when I coding different ways:
    one is:
    Caught an exception.
    java.rmi.ServerException: RemoteException occurred in server
    thread; nested exception is:
    java.rmi.RemoteException: nested exception is:
    javax.ejb.EJBException: Unable to connect to database.
    com.sun.enterprise.resource.JdbcDataSource; nested
    exception is:
    javax.ejb.EJBException: Unable to connect to database.
    com.sun.enterprise.resource.JdbcDataSource
    java.rmi.RemoteException: nested exception is:
    javax.ejb.EJBException: Unable to
    connect to database. com.sun.enterprise.resource.JdbcDataSource;
    nested exception is:
    javax.ejb.EJBException: Unable to connect to database.
    com.sun.enterprise.resource.JdbcDataSource
    javax.ejb.EJBException: Unable to connect to database.
    com.sun.enterprise.resource.JdbcDataSource
    <<no stack trace available>>
    the Other is:
    Caught an exception.
    java.rmi.ServerException: RemoteException occurred in server
    thread; nested exception is:
    java.rmi.RemoteException: nested exception is:
    javax.ejb.EJBException: Unable to connect to database.
    makeConnection:Io Exception: Connection refused(DESCRIPTION=
    (TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(ERROR=
    (CODE=12505)(EMFI=4)
    ))); nested exception is:
    javax.ejb.EJBException: Unable to connect to database.
    makeConnection:Io
    Exception: Connection refused(DESCRIPTION=(TMP=)
    (VSNNUM=150999297)(ERR=12505)(ERROR_
    STACK=(ERROR=(CODE=12505)(EMFI=4))))
    java.rmi.RemoteException: nested exception is:
    javax.ejb.EJBException: Unable to
    connect to database. makeConnection:Io Exception: Connection
    refused(DESCRIPTION=(TM
    P=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)
    (EMFI=4)))); nested exception is:
    javax.ejb.EJBException: Unable to connect to database.
    makeConnection:Io
    Exception: Connection refused(DESCRIPTION=(TMP=)
    (VSNNUM=150999297)(ERR=12505)(ERROR_
    STACK=(ERROR=(CODE=12505)(EMFI=4))))
    javax.ejb.EJBException: Unable to connect to database.
    makeConnection:Io Exception: C
    onnection refused(DESCRIPTION=(TMP=)(VSNNUM=150999297)(ERR=12505)
    (ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    <<no stack trace available>>
    My codes related are:
    private void makeConnection() throws NamingException,
    SQLException {
    try{
    InitialContext ic = new InitialContext();
    OracleConnectionPoolDataSource ocpds =
    (OracleConnectionPoolDataSource) ic.lookup(dbName);
    PooledConnection pc = ocpds.getPooledConnection();
    con = pc.getConnection();
    }catch(SQLException ex){
    throw new SQLException("makeConnection:" + ex.getMessage());
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    con = DriverManager.getConnection(
    "jdbc:oracle:thin:@172.28.200.43:1521:shcd",
    "lijun", "xiaotian"); */
    public void setEntityContext(EntityContext context) {
    this.context = context;
    try {
    makeConnection();
    } catch (Exception ex) {
    throw new EJBException("Unable to connect to database. " +
    ex.getMessage());
    I believe I set JNDI and config EJB right, because I can run it
    with Cloudscape DB all right.
    who can tell me where is my WRONG, or tell me how to connect to
    Oracle9i DB?

    Hi,
    on small thing to check (or perhaps do):
    Make sure that you are using the JDBC drivers from the Oracle9i
    DB client e.g. copy the classes12.jar from the ORACLE_HOME of
    the database client into OC4J_HOME lib.
    Also, one thing that might help is to define an explict Oracle
    datasource e.g.
    - Set class to value of Oracle DataSource class
    - Use only the location logical name
    - Returns Oracle implementation of java.sql.Connection
    <data-source
    class="oracle.jdbc.pool.OracleDataSource"
    name="jdbc/oracle/PooledDS"
    location="jdbc/oracle/PooledDS"
    username="scott"
    password="tiger"
    url="jdbc:oracle:thin:@<host>:<port>:<SID>"
    />
    Andy

  • Who can explain vod hds-vod ?

         In fms.ini
              VOD_COMMON_DIR = d:\Program Files\Adobe\Flash Media Server 4.5\webroot\vod
              VOD_DIR = d:\Program Files\Adobe\Flash Media Server 4.5\applications\vod\media
         In Apache httpd.conf
              DocumentRoot "../webroot"
         <Location /vod>
             HttpStreamingContentPath "../webroot/vod"
         </Location>
         <Location /hls-vod>
              HttpStreamingContentPath "../webroot/vod"
         </Location>
         Which path is used, when I used "http://localhost:8134/vod/xxx.mp4" to play?
         I change the path  to
         <Location /vod>
             HttpStreamingContentPath "D:\"
         </Location>
         There have no file In the path "D:\" .
         I used  "http://localhost:8134/vod/xxx.mp4" to play, why  the player still play the xxx.mp4?
         I am confused.
         Who can help me to explain these path mean?
         thanks!

    http://localhost:8134/vod/mp4:xxx.mp4

  • Why can't inner classes have static methods?

    I just tried to add a static method to an inner class, which would have been useful for extracting constants about said inner class, and it turns out that is not allowed.
    Of course I have other ways to code what I wanted, but I'm curious as to why this restriction was set in place. Anybody know?

    Probably because an inner class is tied to an instance of the enclosing class. I think that, conceptually at least, the inner class' definition itself only exists in the context of an instance of the enclosing class. While I'm sure it would have been technically possible to allow it, it would be confusing and not make a whole lot of sense--what is the static context for the inner class, since the class only exists in a non-static context?

  • Who can analyze this class ,does it will cause a problem?

    package db;
    import java.sql.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.sql.DataSource;
    public class DbManager
    private static Context jdbcContext;
    public static Connection getConnect(String dataSource)
    throws ClassNotFoundException, SQLException
    String s;
    Connection conn=null;
    if (dataSource==null)
    s= "jdbc/hoss";
    else
    s=dataSource;
    if(jdbcContext == null)
    try
    jdbcContext = new InitialContext();
    catch(Exception exception)
    System.out.println(exception);
    try
    conn = ((DataSource)jdbcContext.lookup(s)).getConnection();
    catch(Exception exception1)
    System.out.println(exception1);
    return conn;
    public static ResultSet execQuery(String s,Connection conn)
    throws SQLException
    Statement statement = conn.createStatement();
    ResultSet resultset = statement.executeQuery(s);
         //statement.close();
    return resultset;
    public static ResultSet execQuery(String s,Connection conn,Statement statement)
         throws SQLException
         ResultSet resultset = statement.executeQuery(s);
         return resultset;
    public static int execUpdate(String s,Connection conn)
    throws SQLException
    Statement statement = conn.createStatement();
    int i = statement.executeUpdate(s);
         statement.close();
    return i;
    this is a class writed by me ,but now i have some problem with it
    all the problems is focus on the following method:
    public static ResultSet execQuery(String s,Connection conn)
    throws SQLException
    Statement statement = conn.createStatement();
    ResultSet resultset = statement.executeQuery(s);
         //statement.close();
    return resultset;
    if the statement is closed ,the resultset will automatically be close;
    if you don't close statement here i have two wonder:
    1)after the method return the statement is local variable,it will died
    and the resultset will can also do thing?
    2)whether it will lock the database after long run

    If you don't close the ResultSet and the Statement, I think you may have an SQLException sooner or later, telling you there are no more cursors left.

  • Who can explain this? No Solution required!

    I had like to see the explanation for the following. Personallyl, I am hoping that the Line Managment 'DLM' will realize that my line is capable of more than 77.43 and raise it to 79+. I hate it when people tell me the maximum you can get on your line is the 96% of the syncing speed e.t.c. If you have any insight on this, I would really appreciate that.
    Thank you.
    If you can't look at the picture below in full resolution then please click here: http://i4.minus.com/i6GJAeU2YW5oP.png
    Here is a real life download speed test whilst using Netherland's proxy servers from London. As you can see that not only the file is being download but Onlive is starting up at the same time. 9.947 MB/sec is equal to 79.576MB download speed. 
    If you can't look at the picture below in full resolution then please click here: 
    http://i4.minus.com/iYq6xXcQLF6F0.png

    john46 wrote:
    "I had like to see the explanation for the following. Personallyl, I am hoping that the Line Managment 'DLM' will realize that my line is capable of more than 77.43 and raise it to 79+. I hate it when people tell me the maximum you can get on your line is the 96% of the syncing speed e.t.c. If you have any insight on this, I would really appreciate that."
    You will never achieve a greater speed than the 77.43 mb IP profile as that is the maximum speed whether you like the answer or not you will never get more than 96% of the sync speed 
    so, does that mean it does not have any effect on what my actual download speed is?
    I just did another speed test and the result was 78.7?
    Your wording doesn't explain how I can download at a faster speed then what I am limited too.

  • Question on me51n: who can explain this phenomenon?

    Hi all,
    I am creating a Purchase Requisition via me51n.
    When I fill a 'K' or 'P' in the "acct assignment cat."(A) column in the Header Block. it will automatically bring me to the "Account Assignment" in the Item block, and give the "G/L account no" a default value 400000.
    I dont know why it give me the default value? can someone explain this to me, and where can I set up the configuration for the default value. I tried this in some other system, no such issues.
    Any response will be awarded.
    Thanks and regards,
    Samson

    hi,
    this is because an account modification key is maintained in your account assignemnet.
    please check the same in(OME9)
    say for example if VBR is maintained there check the sane in OBYC where correspondent to that account modification key same GL is maintained which it appears in your PR/PO
    VBR will be there in GBB Transaction key in OBYC
    Edited by: manipal on Dec 28, 2007 9:49 AM

  • 10.1.4 production ....? Who can explain Oracle's release strategy?

    Today I received an announcement from Oracle:
    "Oracle Application Server Portal 10g Release 2 (10.1.4) now available!
    Oracle is pleased to announce the immediate availability of Oracle Application Server Portal 10g Release 2 (10.1.4)."
    I never quite understood how Oracle manages their version numbers, but to me this looks like 10.1.4 is production before 10.1.3 is ... can somebody please explain this to me? Or is this version of Oracle Portal completely separate from Oracle Application Server?

    I agree that Oracle version numbers is not easy to "manage".
    If we step back a bit, looking at versions
    (some say that the two first version numbers of AS versioning is based on version of DB included)
    release DB AS
    10gR1 10.1 9.0.4
    10gR2 10.2 10.1.2.0.0 or 10.1.2.0.2
    What comes next? :-)
    But your last guess is good (look at Portal as an application based on OHS, OC4J, Metadata, OID, SSO, etc. services of AS)
    - there is a product on the Application Server 10.1.2.0.2 downloads page called 'Portal Upgrade (10.1.4)'.
    http://www.oracle.com/technology/software/products/ias/htdocs/101202.html
    You can also check Certify, Component info. It lists components of AS 10.1.2.0.2 and their versions, including Oracle Portal 10.1.2.1.0 and Oracle Portal Upgrade 10.1.4.0.0. So, I guess Portal is developed at a faster rate than some of the other products in the stack and Oracle decided not to wait to release it! (now it's "fusionabled")
    There's a New Features pdf at the Product Center
    http://www.oracle.com/technology/products/ias/portal/index.html
    Message was edited by:
    orafad

  • Any danes who can explain what this is about.

    Got this message from controlling the disc....
    Kontrollerer enheden “Macintosh HD”
    Kontrollerer HFS Plus-enhed.
    Kontrollerer Extents Overflow-arkiv.
    Kontrollerer katalogarkiv.
    Kontrollerer arkiver med mange forbindelser.
    Kontrollerer kataloghierarkiet.
    Kontrollerer arkivet Extended Attributes.
    Kontrollerer enhedens bitmap.
    Enhedens bit map kræver en mindre reparation
    Kontrollerer oplysninger om enheden.
    Ugyldigt antal ledige blokke på enhed
    (Det burde være 14099383 i stedet for 14096227)
    Enheden Macintosh HD skal repareres.
    Fejl: Den underliggende opgave rapporterede en fejl ved ****
    1 HFS-enhed undersøgt
    Enheder skal repareres

    Hi snetiger,
    Have you installed the "Battery Update" from the Apple site? Has the battery been replaced through the battery program? Check the Magsafe plug. Is it melting? Do you have access to another charger to eliminate a bad charger? Does the orange charge light coming on or the green power adapter mode light? Have you unplugged the charger from the wall for about 60 secs. (if no lights, this resets charger) What are your energy saver preferences set to?
    I have been dealing with this battery issue across three different machines. I think it is a time formatting issue with the software. Keep an eye on the clock. Most of my worst issues have always occurs when the battery is "Calculating Until Full" this can go on for a while unless I unplug the Magsafe or open energy saver. Just opening it not having to change any settings.
    Sweet Polly

  • Who can explain me about why 0x1000 = 4096?

    Why is that 0x1000 = 4096 which is 2^12
    0x0100 = 256 which is 2^8
    0x0010 = 16 which is 2^4
    0x0001 = 1 which is 2^0 (and obvious to me)?
    I always thought it is supposed to be in : 2^3, 2^2, 2^1, 2^0 schema.
    Thank you.
    Gene

    You've used some kind of bizarre adaptation of binary, and frankly, you've mangled it.
    Have another go at it like this:
    0x1000 = 4096 which is 16^3
    0x0100 = 256  which is 16^2
    0x0010 = 16   which is 16^1
    0x0001 = 1    which is 16^0 Or if we were using binary...
    100000 = 32 which is 2^5
    010000 = 16 which is 2^4
    001000 = 8  which is 2^3
    000100 = 4  which is 2^2
    000010 = 2  which is 2^1
    000001 = 1  which is 2^0(I think, and I might be making this up, that you can denote a binary number with the prefix %... ie %100 = 4)
    Cheers,
    Radish21

  • A silver dollar for anyone who can explain Mail 'Get Messages' failure

    Mail 6.2 (build 1499) on a very stable 10.8.2.
    No settings changed in the last 6 months; no accounts added (etc) in the last 30 days; same ISP (Time Warner - have reset my cable modem etc).
    Until a couple of days or so ago, Get Mail (top left) took at most 5 seconds to retrieve all POP3 mail from the dozen or so accounts I have with three or four hosts.
    Now, every time I try to collect from all my accounts that way, one or more of them fails.
    Every tme. Different accounts, which means different of the hosts.
    Right-clicking on the single account(s) with the triangle exclamation point and selecting 'Get new mail from…' immediately afterwards invariably works instantly.
    What can it be about the act of collecting all mail that fails when from individual accounts/separate hosts one at a time it succeeds?
    Thanks!

    Try a reset first: hold down the home button along with the power button until you see the Apple, then let go.

  • Who can explain me the following formula?

    top.frames['Content'].location.href="frmProjectViews?OpenForm&txtProjNo=" + document.forms[0].txtProjectIDRequested.value + "&txtViewSelected=viewNavDetDesign"
    What is it 'Content'? Is it a frame created in the database?. I am not sure about I have to specify after ...location.href="..." Should I specify the URL which opens the action? I understand that the field ProjectID is a field in your original database and the field ProjNo is the field in the form located in another database where you copy the value of ProjectID. Is it right?
    Thanks in advance

    top.frames is an array of frames on the page. The 'content' loks to be an error. It should be top.frames[i] where i is the integer index of the desired frame in the array (zero based) or top.content where 'content' is the logical name given to the frame in the FRAMESET tag.
    The 'location.href=' is the url for what is to be displayed in the frame. It can be either a full url or a relative url. In this case it looks like it is a relative url for a servlet with some dynamic parameters.

  • Who can explain me why my credit card is rejected  ?

    I have just changed my IPhone 3GS for a 4S.
    And now, my credit card (in force for a few months remaining) is rejected, Apple store telling me that my credit card is nor valid in France (Visa) , nor my number .......
    although I can buy everything evewhere, except on Apple store ! This card was accepted when I purchased my new IPhone last Thursday ....
    Thanks for help.

    most likely apple won't u card with a few months remaining try out the link below  http://www.apple.com/support/mac/app-store/contact.html?form=account&topic=MacAppStoreAccountandBilling

Maybe you are looking for

  • Ipod Nano 4th Gen not recognised in Windows Vista, Windows 7 or Itunes and screen blank

    Hello, I have a quite old (3-4 years old) iPod Nano 4th Gen. The screen is blank, which means it needs charging. When I plug it into my laptop/computer then it doesn't show up which im assuming is because it needs charging. When I plug it into my plu

  • ResultSets works only for 6 ... Extremely  Urgent !!

    Hey there ! This is seriously an urgent issue . I can get succesful results for only 6 columns. When I attempt to get another Column( anything > 6),I obtain java.lang.ArrayIndexOutOfBoundsException error. Guys,I suspect its becoz of vector. Actually,

  • Cannot open/edit previously saved forms

    I just upgraded my reader and now I cannot open/edit any of my forms previously saved.  I work in a law office so I can't re do all my forms.  How do I open and edit forms I previously saved?

  • Incorrect exchange rate on credit memo.

    BW Experts: We are on SAP_BW700 0021 SAPKW70021 SAP NetWeaver BI 7.0     Component Supp. Pkg.. Credit memos loaded into the 0sd_c03 sales overview cube is not using the exchange rate from the base billing document. It is using the exchange rate on th

  • Auto populate "Territory" when creating opportunity from the Account screen

    Hello there! I need to know if it is possible to get On Demand to auto populate the "Territory" field when we are creating an opportunity (or contact for that matter) from the Account Screen. The Account is already created, so we know what the Territ