Where to put the Bean class in a html- Bean- JSP setup

Hi,
The setup is simple, the front end is a html form, there is a Java Bean with set/get methods and finally a jsp which accesses the bean and prints the result.
The problem is that it cannot locate the Bean class. I have compiled the bean class and stored the .class file in webapps/ROOT/WEB-INF/classes dir. The jsp and html files are located in the webapps/ROOT dir. Iam using tomcat 5.0.28, with ROOT context enabled. Is this because I need to set the CLASSPATH for Tomcat? Any pointers?
Thanks

No you don't need to set CLASSPATH.
You need to put your bean in a package.
As of java1.4, JSPs can not access beans that are in the default/unnamed pacakge.
package mypackage
public class MyClass
and then the class would compile to
WEB-INF/classes/mypackage/MyClass.class

Similar Messages

  • Flash Pro CS6 - What is Best Practices for where to put the Document Class?

    Suppose you are given a folder with these 5 things in it:
    folder: bin
    folder: src
    folder: lib
    folder obj
    ProjectName.as3proj
    I am right now just creating a .fla called ProjectNameShell.fla that is basically an empty file. I just use it to publish through CS6 and also state which class to start from. Is the standard place to put this fla in this first folder or in src?

    Looks like a FlashDevelop project. In that I'd put FLA and project-specific classes in /src. Any 3rd party code in /lib. Publish to /bin. /obj is the wildcard, which could be complex objects (3d, etc). Some people choose to keep the FLA in the root folder (not in any of those folders) and leave /src to just project-specific code (mostly for easy repository usage). 
    There's no "perfect" way to do it. Just be on the same page with the people you work with.

  • Architecture question...where to put the code

    Newbie here, so please be gentle and explicit (no detail is
    too much to give or insulting to me).
    I'm hoping one of you architecture/design gurus can help me
    with this. I am trying to use good principals of design and not
    have code scattered all over the place and also use OO as much as
    possible. Therefore I would appreciate very much some advice on
    best practices/good design for the following situation.
    On my main timeline I have a frame where I instantiate all my
    objects. These objects refer to movieClips and textFields etc. that
    are on a content frame on that timeline. I have all the
    instantiation code in a function called initialize() which I call
    from the content frame. All this works just fine. One of the
    objects on the content frame is a movieClip which I allow the user
    to go forward and backward in using some navigation controls.
    Again, the object that manages all that is instantiated on the main
    timeline in the initialize() function and works fine too. So here's
    my question. I would like to add some interactive objects on some
    of the frames of the movieClip I allow the user to navigate forward
    and backward in (lets call it NavClip) . For example on frame 1 I
    might have a button, on frame 2 and 3 nothing, on frame 4 maybe a
    clip I allow the user to drag around etc. So I thought I would add
    a layer to NavClip where I will have key frames and put the various
    interactive assets on the appropriate key frames. So now I don't
    know where to put the code that instantiates these objects (i.e.
    the objects that know how to deal with the events and such for each
    of these interactive assets). I tried putting the code on my main
    timeline, but realized that I can't address the interactive assets
    until the NavClip is on the frame that holds the particular asset.
    I'm trying not to sprinkle code all over the place, so what do I
    do? I thought I might be able to address the assets by just
    providing a name for the asset and not a reference to the asset
    itself, and then address the asset that way (i.e.
    NavClip["interactive_mc"] instead of NavClip.interactive_mc), but
    then I thought that's not good since I think there is no type
    checking when you use the NavClip["interactive_mc"] form.
    I hope I'm not being too dim a bulb on this and have missed
    something really obvious. Thanks in advance to anyone who can help
    me use a best practice.

    1. First of all, the code should be:
    var myDraggable:Draggable=new Draggable(myClip_mc);
    myDraggable.initDrag();
    Where initDrag() is defined in the Draggable class. When you
    start coding functions on the timeline... that's asking for
    problems.
    >>Do I wind up with another object each time this
    function is called
    Well, no, but. That would totally depend on the code in the
    (Draggable) class. Let's say you would have a private static var
    counter (private static, so a class property instead of an instance
    property) and you would increment that counter using a
    setInterval(). The second time you enter the frame and create a new
    Draggable object... the counter starts at the last value of the
    'old' object. So, you don't get another object with your function
    literal but you still end up with a faulty program. And the same
    goes for listener objects that are not removed, tweens that are
    running and so on.
    The destroy() method in a custom class (=object, I can't
    stress that enough...) needs to do the cleanup, removing anything
    you don't need anymore.
    2. if myDraggable != undefined
    You shouldn't be using that, period. If you don't need the
    asset anymore, delete it using the destroy() method. Again, if you
    want to make sure only one instance of a custom object is alive,
    use the Singleton design pattern. To elaborate on inheritance:
    define the Draggable class (class Draggable extends MovieClip) and
    connect it to the myClip_mc using the linkage identifier in the
    library). In the Draggable class you can define a function unOnLoad
    (an event fired when myClip_mc is removed using
    myClip_mc.removeMovieClip()...) and do the cleanup there.
    3. A destroy() method performs a cleanup of any assets we
    don't need anymore to make sure we don't end up with all kinds of
    stuff hanging around in the memory. When you extend the MovieClip
    Class you can (additionally) use the onUnLoad event. And with the
    code you posted, no it wouldn't delete the myClip_mc unless you
    program it to do so.

  • Is it possible to put the java classes of an application and run?

    Hi All,
    Please excuse me if this question seems meaningless / laughable.
    We get java class files by compiling the source code with java compiler. To run the application, classpath can be set to the folder where the class files are stored and then run the main class.
    Now the question is, is it possible to read the class files to RAM and then run the application. I highly appreciate your help.
    Thanks in advance.
    Chinnaswamy

    You could
    1.) copy the class files to a ramdisk
    2.) write another class loader that deletes the class files after loading >them from ram
    but all of this is probably not necessary.
    What exactly would you like to achieve by doing this? Thanks, JoachimSauer.
    The idea I have in mind is to first read and store the java class files in C/C++ code and then while running the C/C++ code, read & put the java classes into RAM and run the java application.
    This way the decompilation problem can be alleviated for valuable java applications. ( I am not sure, this will work)
    Another reason could be speed improvement. Classes in RAM is expected to make the application to run faster than when class files are in hadr disk
    With regards
    Chinnaswamy

  • I changed my iPhone lately but i can't restore my last backup since it keeps saying "itunes could not restore backup because the password was incorrect" but I don't know where to put the password to make it happen... Any suggestions?

    Hey guys,
    I just bought a new iPhone but i can't restore my backup files beacuse it keeps saying "itunes could not restore backup because the password was incorrect" but I really don't know where to put the password to restore it. I really have some files that are meaningful for me so I really need help. Any suggestions anyone?

    Select your iDevice in the iTunes.
    Choose the Summary screen (tab) and scroll to the bottom of the screen.
    Then un-select Encrypt iPhone backup.
    iTunes will then prompt you to “Enter the password to unlock your iPhone backup”, enter the password you set originally.

  • Where we use the window class in the sql and how to use it

    where we use the window class in the sql and how to use it

    http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions004.htm#SQLRF06174
    Regards
    Etbin

  • Where to put the commit in the FORALL BULK COLLECT LOOP

    Hi,
    Have the following LOOP code using FORALL and bulk collect, but didnt know where to put the
    'commit' :
    open f_viewed;
    LOOP
    fetch f_viewed bulk collect into f_viewed_rec LIMIT 2000;
    forall i in 1..f_viewed_rec.count
    insert into jwoodman.jw_job_history_112300
    values f_viewed_rec(i);
    --commit; [Can I put this 'commit' here? - Jenny]
    EXIT when f_viewed%NOTFOUND;
    END LOOP;
    commit;
    Thanks,
    - Jenny

    mc**** wrote:
    Bulk collect normally used with large data sets. If you have less dataset such as 1000-2000 records then you canot get such a performance improvent using bulk collect.(Please see oracle documents for this)
    When you update records Oracle acquire exclusive lock for that. So if you use commit inside the loop then it will process number of records defined by limit parameter at ones and then commit those changes.
    That will release all locks acquired by Oracle and also teh memory used to keep those uncommited transactions.
    If you use commit outside the loop,
    Just assume that you insert 100,000 records, all those records will store in oracle memory and it will affect all other users performance as well.
    Further more if you update 100,000 records then it will hold exclusive lock for all 100,000 records addtion to the usage of the oracle memory.
    I am using this for telco application which we process over 30 million complex records (one row has 234 columns).
    When we work with large data sets we do not depends with the oracle basic rollback function. because when you keep records without commit itb uses oracle memory and badly slowdown all other processes.Hi mc****,
    What a load of dangerous and inaccurate rubbish to be telling a new Oracle developer. Commit processing should be driven by the logical unit of a transaction. This should hold true whether that transaction involves a few rows or millions. If, and only if, the transaction is so large that it affects the size constraints of the database resources, in particular, rollback or redo space, then you can consider breaking that transaction up to smaller transactions.
    Why is frequent committing undesirable I hear you ask?
    First of all it is hugely wasteful of rollback or redo space. This is because while the database is capable of locking at a row level, redo is written at a block level, which means that if you update, delete or insert a million rows and commit after each individual statement, then that is a million blocks that need to go into redo. As many of these rows will be in the same block, if you instead do these as one transaction, then the same block in redo can be transacted upon, making the operation more efficient. True, locks will be held for longer, but if this is new data being done in batches then users will rarely be inconvenienced. If locking is a problem then I would suggest that you should be looking at how you are doing your processing.
    Secondly, committing brings into play one of the major serialization points in the database, log sync. When a transaction is committed, the log buffer needs to be written to disc. This occurs serially for multiple commits. Each commit has to wait until the commit before has completed. This becomes even more of a bottleneck if you are using Data Guard in SYNC mode, as the commit cycle does not complete until the remote log is notified as written.
    This then brings us two rules of thumb that will always lead a developer in the right direction.
    1. Commit as infrequently as possible, usually at the logical unit of a transaction
    2. When building transactions, first of all seek to do it using straight SQL (CTAS, insert select, update where etc). If this can't be easily achieved, then use PL/SQL bulk operations.
    Regards
    Andre

  • I wanted to know explain my problem down package cc2014 where I put the serial number of the problem that I have is that when you open the program asks me start of session in which he put it and go but back inside and it drives me to request the start of

    I wanted to know explain my problem down package cc2014 where I put the serial number of the problem that I have is that when you open the program asks me start of session in which he put it and go but back inside and it drives me to request the start of session and I take 3 weeks or more with this problem if they can support me solve it was the number of seire wearing this being installed at a private university

    Cloud programs do not use serial numbers... you log in to your paid Cloud account to download & install & activate... you MAY need to log out of the Cloud and restart your computer and log back in to the Cloud for things to work
    Some general information for a Cloud subscription
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
    Does your Cloud subscription properly show on your account page?
    If you have more than one email, are you sure you are using the correct Adobe ID?
    https://www.adobe.com/account.html for subscriptions on your Adobe page

  • Where to store the servlet classes

    can anyone tell me where to store the servlet classes(inside a package)in oracle9iAS used with oracle8i database ?
    Also how to deploy an ejb in oracle9iAS. should we have to use oracle8i deployment guide or any other procedure??
    thanks in advance

    Copy Servlet in DefaultWebApp/Web-Inf/classes directory.
              Configure Servlet in web.xml deployment descriptor.
              <servlet>
              <servlet-name></servlet-name>
              <servlet-class></servlet-class>
              </servlet>
              <servlet>
              <servlet-name></servlet-name>
              <servlet-class></servlet-class>
              </servlet>
              <servlet-mapping>
              <servlet-name></servlet-name>
              <url-pattern></url-pattern>
              </servlet-mapping>
              hiren dossani wrote:
              > If, I store the class files for servlets under WEB-INF/classes folder,
              > i get file not found exception while using WL 6.1 sp2. But, if i store
              > the class file under DefaultWebApp folder, it works fine.
              > Any help about where to store the class files for servlets would be
              > great help.
              >
              > Thanks.
              >
              > --
              > hiren
              

  • Hello there, am new here and very stressed, i have an Imac core i3 which is logging off itself after a few seconds of login, it goes back to the login menu where i put the password. I have tried to repair the os but my pioneer rom is not reading the disk.

    Hello there, am new here and very stressed, i have an Imac core i3 which is logging off itself after a few seconds of login, it goes back to the login menu where i put the password. I have tried to repair the os but my pioneer rom is not reading the disk. I press the :c" button on startup but its not picking up the disk in the rom, i have tried to put the disk in an external rom but same answer, am starting to think that my os disk is bad. Please help me.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    *Note: If FileVault is enabled under Mac OS X 10.7 or later, or if a firmware password is set, you can’t boot in safe mode.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Do you guys know where to populate the CSS class items on the WYSIWYG Editor as shown below?

    Do you guys know where to populate the CSS class items on the WYSIWYG Editor as shown below? We're trying to make it easily for the client to apply formatting by selecting the CSS Class on the list.

    The Page Template must contain a reference to exactly one stylesheet.
    That single <link rel="stylesheet"> tag must be directly in the <head> section of the Page Template, not in any content holder.
    The class to be added cannot have a selector any more complex than a single class. E.g., this is fine:
    .button {
         background-color: red;
         padding: 5px 10px;
    This will fail:
    .content .button {
         background-color: red;
         padding: 5px 10px;
    The classes to be added must each be added to the list in the Partner Portal (Partner Portal › Tools › Online Editor Settings › select your site from the dropdown › Editor Apply CSS).
    With caching disabled, the above changes will be visible when you change a page's Template and answer 'Yes' to the 'Do you want to reload?' alert box.
    More info here: CSS Styles are Missing in WYSIWYG Editor

  • Where to put the Transform.xsl File

    Good evening!
    I am trying to execute a bpel:doXslTransform(xslURI,$a) and i dont know where to put the transform.xsl file for this operation.
    Can anybody tell me?
    Greetz,
    RaRu

    It needs to be in the same folder as the .bpel process - the bpel folder of your project.
    Hope this helps,
    Shanmuhanathan Thiagaraja

  • Where to put the class?

    Ok EasyIn class can help me convert a string into an int, I will need it for this problem.
    The code for EasyIn is as follows, and i need to put it into my AirplaneListTester class, but where do I put it?
    EasyIn class
    // EasyIn.java
    import java.io.*;
    public abstract class EasyIn
    static String s = new String();
    static byte[] b = new byte[512];
    static int bytesRead = 0;
    public static String getString()
    boolean ok = false;
    while(!ok)
    try
    bytesRead = System.in.read(b);
    s = new String(b,0,bytesRead-1);
    s=s.trim();
    ok = true;
    catch(IOException e)
    System.out.println(e.getMessage());
         return s;
    public static int getInt()
    int i = 0;
    boolean ok = false;
    while(!ok)
    try
    bytesRead = System.in.read(b);
    s = new String(b,0,bytesRead-1);
    i = Integer.parseInt(s.trim());
    ok = true;
    catch(NumberFormatException e)
    System.out.println("Make sure you enter an integer");
    catch(IOException e)
    System.out.println(e.getMessage());
    return i;
    public static byte getByte()
    byte i = 0;
    boolean ok = false;
    while(!ok)
    try
    bytesRead = System.in.read(b);
    s = new String(b,0,bytesRead-1);
    i = Byte.parseByte(s.trim());
    ok = true;
    catch(NumberFormatException e)
    System.out.println("Make sure you enter a byte");
    catch(IOException e)
    System.out.println(e.getMessage());
    return i;
    public static short getShort()
    short i = 0;
    boolean ok = false;
    while(!ok)
    try
    bytesRead = System.in.read(b);
    s = new String(b,0,bytesRead-1);
    i = Short.parseShort(s.trim());
    ok = true;
    catch(NumberFormatException e)
    System.out.println("Make sure you enter a short integer");
    catch(IOException e)
    System.out.println(e.getMessage());
    return i;
    public static long getLong()
    long l = 0;
    boolean ok = false;
    while(!ok)
    try
    bytesRead = System.in.read(b);
    s = new String(b,0,bytesRead-1);
    l = Long.parseLong(s.trim());
    ok = true;
    catch(NumberFormatException e)
    System.out.println("Make surre you enter a long integer");
    catch(IOException e)
    System.out.println(e.getMessage());
    return l;
    public static double getDouble()
    double d = 0;
    boolean ok = false;
    while(!ok)
    try
    bytesRead = System.in.read(b);
    s = new String(b,0,bytesRead-1);
    d = (Double.valueOf(s.trim())).doubleValue();
    ok = true;
    catch(NumberFormatException e)
    System.out.println("Make sure you enter a decimal number");
    catch(IOException e)
    System.out.println(e.getMessage());
    return d;
    public static float getFloat()
    float f = 0;
    boolean ok = false;
    while(!ok)
    try
    bytesRead = System.in.read(b);
    s = new String(b,0,bytesRead-1);
    f = (Float.valueOf(s.trim())).floatValue();
    ok = true;
    catch(NumberFormatException e)
    System.out.println("Make sure you enter a decimal number");
    catch(IOException e)
    System.out.println(e.getMessage());
         return f;
    public static char getChar()
    char c = ' ';
    boolean ok = false;
    while(!ok)
    try
    bytesRead = System.in.read(b);
    s = new String(b,0,bytesRead-1);
    if(s.trim().length()!=1)
    System.out.println("Make sure you enter a single character");
    else
    c = s.trim().charAt(0);
    ok = true;
    catch(IOException e)
    System.out.println(e.getMessage());
    return c;
    public static void pause()
    boolean ok = false;
    while(!ok)
    try
    System.in.read(b);
    ok = true;
    catch(IOException e)
    System.out.println(e.getMessage());
    public static void pause(String messageIn)
    boolean ok = false;
    while(!ok)
    try
    System.out.print(messageIn);
    System.in.read(b);
    ok = true;
    catch(IOException e)
    System.out.println(e.getMessage());
    AirplaneListTester class sorry for the indentations the message box has messed it up
    import javax.swing.JOptionPane; //indicates that the compiler should load class JOptionPane for use in this application.
    public class AirplaneListTester
         public static class AirplaneList
              //Attributes for the AirplaneList
              private String flight = "No plane" ; //Airplane's name
              private int total = 0;     //initial total
              private boolean Empty = true; //initially the list is empty
              private boolean     Full = false; //The list initially has no entries therefore it is not full
              // Constructor method
              public AirplaneList()
                   total = 0;
              public void add(String Airplane) // allows the user to add an airplane to the list, it returns a boolean value
                   flight = Airplane; // The airplane object will be "flight"
              }     //add()
              public void remove(int inti) // allows the user to remove an airplane from the list, it returns a boolean value
                   total = inti;
              }     //remove()
              public boolean isEmpty() // allows a user to check if the list is empty
                   Empty = true;
                   Full = false;
                   return Empty;
              public boolean isFull() // allows a user to check if the list is full
                   Empty = false;
                   Full = true;
                   return Full;
              public void item(int inti) // returns the airplane's flight number on the list
                   total = inti;
                   System.out.println(flight+ "is number ");
                   System.out.println(total+ "");
              public void Total() // returns the total number of airplanes on the list
                   JOptionPane.showMessageDialog(null,total+ " Airplanes are on the list" );
                   if (isFull())
                   JOptionPane.showMessageDialog(null,"The list has also reached its maximum number of planes" );
              public void getInt()
              //Start main()
                   public static void main (String[] args)
              throws java.io.IOException
                   char choice; //Words choice and size are the names of variables
                   int size; //This declaration specifies that the variable are of data type char and int
                   //size = EasyIn.getInt(); // Converts a string and makes it an Int
                   Char - a variable that may only hold a single lowercase letter, a single uppercase letter, a single digit or a           
                   special character (such as x, $, 7 and *)
                   AirplaneList plane = new AirplaneList(); // Declare AirplaneList variables
                   //The code below creates a dialog box for the user to input a choice
                   String inputcode;
                   inputcode = JOptionPane.showInputDialog("A: add an airplane from the list\n" +
                                  "B: remove an airplane from the list\n" +
                                  "C: check if the list is empty\n" +
                                  "D: check if the list is full\n" +
                                  "E: display the list\n" +
                                  "F: quit\n" );
                   The null first argument indicates that the message dialog will appear in the center of the screen. The 2nd is the      
                   message to display
                   do
                             // get choice from user
                             choice = inputcode.toUpperCase().charAt(0);
                             //process menu options
                             switch(choice)
                        case 'A':               
                             addingplanes(plane); // Adds a plane to the list
                             break;     //done processing case
                        case 'B':
                             removingplanes(plane); // Removes the plane
                             break;     //done processing case
                        case 'C':
                             islistempty(plane); // Checks if plane is empty
                             break;     //done processing case
                        case 'D':
                             islistfull(plane); // Checks if plane is full
                             break;     //done processing case
                        case 'E':
                             displaylist(plane);      // Displays the list of planes
                             break;     //done processing case
                        case 'F':
                             JOptionPane.showMessageDialog(null, "You have chosen to quit the program");
                             break;     //done processing case          // Quits the program
                        default:
                             JOptionPane.showMessageDialog(null, "Invalid entry!, Please choose another option");
                             if (choice!= 'A'||
                   choice!= 'B'||      
                             choice!= 'C'||
                        choice!= 'D'||
                        choice!= 'E'||
                        choice!= 'F');
                             inputcode = JOptionPane.showInputDialog("A: add an airplane from the list\n" +
                                  "B: remove an airplane from the list\n" +
                                  "C: check if the list is empty\n" +
                                  "D: check if the list is full\n" +
                                  "E: display the list\n" +
                                  "F: quit\n" );
                                  break;     //done processing case
                   }while (choice!= 'F' ); //end AirplaneList tester
              System.exit(0); //end main()
                   //add Airplane
                   public static void addingplanes(AirplaneList plane)
                        String flight;
                   flight = JOptionPane.showInputDialog("Please enter airplane filght number" );
                        create an Airplane object to add to list          Airplane flight = new Airplane();
                        add string to list if the list is not full
                        access the 'add(Airplane)' method from the AirplaneList class;
                   if the list is full, return a statement to the user indicating that no more plane can be added onto the list
                   //remove airplane
                   public static void removingplanes(AirplaneList plane)
                   //get position of item
                   /*     string enterpos;
                        enterpos = JOptionPane.showInputDialog("Please enter position to remove" );
                        System.out.print(":")
                        int plane = Easyln.getint();
                        // delete item if it exists
                        //access the 'remove(Airplane)' method from the AirplaneList class;
                        //if the user enter an invalid number for the position, returen a statement
                   */     //indicating that there is no such posititon.
                   //check if empty
                   public static void islistempty(AirplaneList plane)
                        String inputcode;
                        if (plane.isEmpty())
                        JOptionPane.showMessageDialog(null, "The list is empty");
                        else
                        JOptionPane.showMessageDialog(null, "list is not empty" );
                   //check if full
                   public static void islistfull(AirplaneList plane)
                        String inputcode;
                        if (plane.isFull())
                        JOptionPane.showMessageDialog(null, "list is full" );
                        else
                        JOptionPane.showMessageDialog(null, "list is not full" );
                   //display list
                   public static void displaylist(AirplaneList plane)
                        if (plane.isEmpty())     //no need to display if list is empty
                        JOptionPane.showMessageDialog(null, "list is empty, there is no list to display!" );
                        else
                        plane.Total();
                        //loop through list
    }//Ends the AirplaneListTester class

    First of all we have some code formatting options in this board.
    If you wrap your code in [[b]code] it will be a whole lot easier to read for all of us.
    Next put your class into a library path since you're going to use it in more than one project I guess.
    Then simply import your class in the project you're currently working on and you can use it's methods.

  • Where to keep the java class file which is being used from a form?

    Hi,
    Actually I am developing a form which has a bean area and the data will be displayed in the bean area in the form of grid. And I will register this form with apps and will run the from Oracle apps. I want to know that there is a java class file that is being refered by the form, where should this java class file be placed and is there any other places where any changes are required so that the form runs correctly from the Oracle apps and can find the java class file.
    I am very thankful to each and everyone who will be able answer this question of my.

    do you mean decompiling? there are tons of java decompilers available out there, what exactly are you trying to do here?

  • Where to put the properties file

    I am a new user of NetBeans6.0, I am making a simple application for user registration. I have coded everything but when I run project I get error caused by the dao.properties file load problem.
    I have put the dao.properties file inside the classes directory(where all java class files are build after running the project) of my web application directory( I didn't create this directory though, it is automatically created by IDE), I think there is a problem with its path.
    where should I put the dao.properties file so that when I run the project the Tomcat automatically find it and also, what the settings I should do?
    actually, I have referred to BalusC'd  DAO tutorial: the data layer but that comes in use when we are working off the IDEs, In my case since I am using Netbeans so it may be different from that one.
    if someone already done that then please let me know

    ok, but will it work if I upload the project in a remote host?
    lets talk besides IDE, as in your DAO tutorial you have instructed to put the properties file somewhere in root of the classpaths. ok, it will work on a local computer cause there is classpath setting but since remote host doesn't know about that property file and we cant set classpath at remote host(I am not sure though if we can) then how will it work at remote host.
    how the server at remote host comes to know about that property file?
    In my case since I have made the project using IDE and everything regarding classpaths have been set automatically(IDE done itself), but at remote host these sort of settings are not done then how the project will run?
    if I have described my problem incorrectly then please consider it as it is supposed to be.

Maybe you are looking for

  • Updated the iTunes yesterday and now when I try to dock ipod, the com crash

    I updated the iTunes last night and now when i go to dock the new 160gb ipod...the computer says that it has detected new hardware and then crashes. I have no idea what is going on but my old 30gb ipod works just fine when I try to dock it.

  • Error Message - No Disk Found

    I plugged in my ipod (60gig) and I got the message that no disk found. I installed the lastest ipod software, still same prob. I then reset the ipod and same problem I uninstalled itunes and reinstalled it and it worked for a couple of hours and then

  • How can I change phone number in Contact List in IOS 7?

    After upgrading to IOS 7, I cannot change the front IDD number. Whenever I tried to ''backspace"/"X" the number, it duplicates and keep on duplicate the new number I typed. For Example hte original number is: 1666-0044-123456 and I want to change to

  • 'Delete' operation with CMIS connector

    I was told in one of the post I made at - http://forums.adobe.com/thread/879186?tstart=0 that Drive uses 'Delete' option from the context menu of OS (no such option exists in the Drive menu). When I was testing my deleteObject method and tried to do

  • Alias in Navigation bar?

    Hello All I suspect the answer is no, but I'll ask anyway. Having a site with lots of pages, I have sub-divided them into sub-sites on theme. This works quite well for me, until I want to call a page from a sub-site. Links are fine, but of course whe