Help with setting classpath

Hi All,
I am new to servlets and JSP. I have a question regarding setting Classpath. My development directory structure is like this c:\..\desktop\java\project1\src\com\eg\web\e1.java. Servlet.jar file is in C:\Program Files\Apache Group\Tomcat 4.1\common\lib. I tried setting Classpath in windows 2000 using control panel=>System utility by this command
SET CLASSPATH=.;c:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar . I try to compile my program by going into the whole development directory structure C:\..\src\com\eg\web using javac e1.java. But I get the error "package javax.servlet does not exist". Can somebody help me resolve this?
Thank You in advance
Jaya

Question 1: Are you using an IDE?
[IDEs ignore the system classpath]
Question 2: Did you try setting the classpath using the -cp option for javac, if you are not using an IDE?
[you could also try to print the classpath on command line to check if it has taken effect]

Similar Messages

  • Can anyone help with setting up AirPrint on my iPhone 4

    Can anyone help with setting up AirPrint on my iPhone 4.  Printer is ready.

    you have a compatable printer correct? http://support.apple.com/kb/ht4356
    if you do may i introduce you to a hassel free app for your mac called printopia i use it also very easy to set up and use
    http://www.udeo.com/mac/printopia/
    hope thats helped
    Goody

  • Purchased extreme to replace modem/router DSL used telephone cord need help with set up

    Prior to purchasing Airport Extreme had a standard modem/ wireless router from ATT for DSL. I have two macbooks both dropped connections while online with older modem.
    Airport Extreme purchased to correct connection issues I need help with set up. The older modem just used telephone cord. I tried to use telephone with extreme it did not work.
    How do I get extreme to work as the modem and router ?

    How do I get extreme to work as the modem and router ?
    you can't. the extreme is only a router. you need a separate modem (or disable the wireless part of your old router and use it as a modem - if that's possible).

  • I need help with setting up time machine for backup

    I would like help with setting up time machine for backup.

    You will need an external hard drive (formatted for a Mac).
    Then you plug it in and go to system preferences>time machine and select the external HD and turn it on.
    The backups are automatic.
    Barry

  • I need help with setting up my Sun Java Studio Creator

    Hello all, i need help with setting up the Studio Creator, i"m new to all that staff so is there anyone to help me just a little with all that if yes email me at [email protected] or get me on AOL Instant Messanger with the screen name: wretch17
    thanks :-)

    Hi,
    Welcome to the Creator community! Thanks for your interst in Sun Java Studio Creator. Please feel free to post any question related to creator on this forum .
    Take a look the creator website at
    http://developers.sun.com/prodtech/javatools/jscreator/
    CreatorTeam

  • Need Help with setting up this Filter

    Hi,
    I need help making a filter sound like the one used in this youtube song.
    I tried setting it up but I've had no success; even though I know for a fact that this filter was made in Logic Pro 9 according to the maker of this song.
    I think there might be a bit of 'Fuzz-Wah' in there too but I've never really used that effect so any tips on that would be great, too.
    Link: http://www.youtube.com/watch?v=tf017M8SZZE&feature=plcp
    Any help with this would be widely appreciated.
    Thank you :-)

    It sounds like a simple hi Q filter sweep to me but getting close to the original synth sound that it is being used on is the challenge. It might well be that it is the filter on the synth itself is what is being swept. Either way, turn up the filter resonance on a band pass filter and sweep it with the lfo or adsr to modulate the filter cutoff if its the synth filter, or automate the filter frequency  sweep if you use the channel filter.

  • Need help with Set-ADUser command

    I need a little help with the following command. Im new to PS and I have found this command but it is only one user at a time. I need to be able to update ALL users in AD.
    My goal is this. Someone before me set all Users Home numbers to 1234567899 and I need to remove that and leave it blank. The command below allows me to do that but only one user at a time by entering their SAMID.
    Is there a way to do this for everyone in AD ?
    Set-AdUser –Identity SAMID –HomePhone $NULL

    Yeah sure - 
    Get-Aduser -filter * -properties SamaccountName | Select SamAccountName | % {Set-Aduser -identity $_.SamaccountName -HomePhone $null}

  • Help with set(index, object) please / new to java

    private static void setDobject(Rectangle [] setrect)
              LinkedList<Rectangle> rects = new LinkedList<Rectangle>();
              Rectangle myrectangle = new Rectangle(9.0,9.0);                                                                  
                 rects.set(1,myrectangle);
              for(Rectangle x : setrect)
                   System.out.print("Rectangle: ");
                   System.out.println(x.getLength() + " by " + x.getWidth());
              }  //End of for loop
         }  //End of unsorted
         }  the other previous code works, i have used the add(object) and it works here is the code for that:
    private static void addDobject(Rectangle [] addrect)
              LinkedList<Rectangle> rects = new LinkedList<Rectangle>();
              Rectangle myrectangle = new Rectangle(9.0,9.0);                                                                  
                 rects.add(myrectangle);
                 for(Rectangle x : rects)
                   System.out.print("Rectangle: ");
                   System.out.println(x.getLength() + " by " + x.getWidth());
              }  //End of for loop
              System.out.println();
         }  //End of unsorted
    this is the output error it is giving me :
    Part 1 : An Array List of Rectangles
    Enter length or 999 to exit: 3
    Enter width: 2
    Enter length or 999 to exit: 1
    Enter width: 2
    Enter length or 999 to exit: 10
    Enter width: 20
    Enter length or 999 to exit: 999
    Rectangle: 3.0 by 2.0
    Rectangle: 1.0 by 2.0
    Rectangle: 10.0 by 20.0
    Display Object with added item
    Rectangle: 3.0 by 2.0
    Rectangle: 1.0 by 2.0
    Rectangle: 10.0 by 20.0
    Rectangle: 9.0 by 9.0
    Displaying Objects with SET item
    Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 1, Size:
    0
    at java.util.LinkedList.entry(LinkedList.java:365)
    at java.util.LinkedList.set(LinkedList.java:328)
    at Lab11.setDobject(Lab11.java:129)
    at Lab11.main(Lab11.java:78)
    Press any key to continue...
    finally here is the Rectangle class i'm using:
    public class Rectangle
        private double length;     // Instance variables
        private double width;
        public Rectangle(double l, double w)  // Constructor method
            length = l;
            width = w;
        } // end Rectangle constructor
        public double getLength()             // getter 
             return length;
        } // end getLength
         public double getWidth()             // getter 
             return width;
        } // end getWidth
        public void setLength(double l)      // setter 
             length = l;
        } // end setLength
         public void setWidth(double w)     // setter 
             width = w;
        } // end setWidth
         public double calculateArea()         // calculation method
            return length * width;
        } // end calculateArea
        public void displayRectangle()         // display method
            System.out.println("Rectangle Length = " + length);
            System.out.println("Rectangle Width = " + width);               
        } // end displayRectangle
    } // Rectangle ClassHope you can help guys! thanks!

    LinkedList<Rectangle> rects = new LinkedList<Rectangle>();rects is an empty LinkedList at this point. It has no elements added to it.
    rects.set(1,myrectangle);So you can't set the item at index 1 (the 2nd element in the list) because it doesn't even exist. You need to add items to it.

  • New computer ~ Help with setting up

    Hi everyone, Newbie here!
    I am going to set my new computer up tomorrow. The computer I am using at present was installed and set up by someone else so this will be a great learning curve for me. Also I had Infinity installed by the engineer.
    Is everything I need to install relating to my broadband available to download? What do I need altogether? I spoke to a BT chap on the phone and he said he would help by remote access. I am a bit nervous of this!
    I need to ensure my computer is safe and secure and it all seems technically daunting. Norton security came with  my Microsoft Office package. Is this better than McAfee (Net Protect Plus), do I need both? What about a key code scrambler  (someone mentioned this to me). As you can see I need reassurance and help arghhhhhhh.
    A step by step guide would be great!
    Thanks
    Solved!
    Go to Solution.

    It is best not to install any of the BT software, just connect your computer to the BT Home hub using an Ethernet cable, or by using the wireless key, if its a wireless connected computers.
    See http://bt.custhelp.com/app/answers/detail/a_id/14964/~/getting-started-with-wireless
    Using a direct cable connection is best, if you want to get maximum speed.
    I would not allow anyone remote access, but if you have no choice, and cannot resolve the issue any other way, then make sure that it is as a direct result of you ringing BT, and not some random person ringing you at home, pretending to be from BT or even Microsoft.
    Many people have been caught out by that type of call, and had their computer infected with spyware.
    If you already have a trial version of Norton Security, then by all means use it until it expires, then uninstall it.
    After that, you have the choice of using the free Microsoft Security Essentials, which is preferred by many forum members, or using BTs Netprotect which is free with some broadband packages. This has been known to make computers run more slowly though.
    That is all you need.
    If you have any problems, then please return here.
    If you have any problems with BT Infinity, then please visit the Infinity board on this forum.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Help with setting a MDX goal expression in SSAS

    Our data is updated monthly and the last date of available data can be anywhere from 45-75 days behind.  For example, data is current through 6/30/2014
    as of 8/25/2014.
    I have a Time dimension hierarchy named [Calendar] with [Year]>[Half Year]>[Quarter]>[Month]>[Date] 
    I have a measure, [Measures].[Fatalities] set as a calculated member.
    I have a KPI with [Measures].[Fatalities] set as the Value Expression. My issue is with setting up the goal expression.
    I am trying to set a goal expression that is a percent reduction for a 5-year baseline average (Year-7:Year-3). So for the current year (2014, with data through
    June 2014), the goal would be a 20% reduction of the average of the Jan-Jun 2007, Jan-Jun 2008,Jan-Jun 2009,Jan-Jun 2010,Jan-Jun 2011.
    I have set up the following MDX as the goal expression:
    .8*((
    ([Measures].[Fatalities],
    PARALLELPERIOD([Time].[Calendar].[Year],7,[Time].[Calendar].CurrentMember))
    +
    ([Measures].[Fatalities],
    PARALLELPERIOD([Time].[Calendar].[Year],6,[Time].[Calendar].CurrentMember))
    +
    ([Measures].[Fatalities],
    PARALLELPERIOD([Time].[Calendar].[Year],5,[Time].[Calendar].CurrentMember))
    +
    ([Measures].[Fatalities],
    PARALLELPERIOD([Time].[Calendar].[Year],4,[Time].[Calendar].CurrentMember))
    +
    ([Measures].[Fatalities],
    PARALLELPERIOD([Time].[Calendar].[Year],3,[Time].[Calendar].CurrentMember))
    )/5
    The problem is that the goal is taking the entire year average at the year level of the Calendar hierarchy.  For example, in the attached screenshot, the
    Fatalities Goal would be empty when the fatalities is empty, and more importantly, the goal at the Year level of the Calendar hierarchy would only be the sum of Jan-Jun goal.  The Fatalities Goal in this example should read 549.28 at the Calendar 2014
    Year level and the status would still be green.
    http://i.imgur.com/peHD9Wl.png

    you might find this app interesting: http://ivolume.en.softonic.com/mac.

  • [SOLVED] Need help with setting up X

    Hello guys am new to the forum and this is my first post here. I am in need of a little help.
    Need help with X configuration. It starts like this, I installed xorg-server , xorg-utils, xorg-server-utils. When I tried installed xorg-init it says no package, anyway I ignored and moved on.
    Now I installed regular mesa stuff and installed xf86-video-ati driver for my HD4250 graphics adapter. with libgl and ati-dri (I have old arch wiki print so it mentioned to install those while newer doesn't list some stuff)
    Now the problem is that Xorg -configure doesn't work with newer X and nor the packages has generated /etc/X11/xorg.conf file.
    Anyway I created the file manually and added each and every section as mentioned in the "old" guide that I have.
    I even added a /etc/X11/xorg.conf.d/20-radeon.conf file for my graphics card with the content as
    Section "Device"
    Identifire "r"
    Driver "radeon"
    EndSection
    After manually creating all such files I installed x-term, xclock and twm. But when I tried to start X by startx or Xinit it says command not found. Add to that a simple X shows couple of errors.
    Please see the errors here Paste #399362 | LodgeIt!
    Some more questions : My old guide mentioned to install HAL while newer guide on the net mention DBUS. Though I have added DBUS to be on the safe side but why not HAL ? Is it because of Udev ?
    So please help me getting X up and running.
    Regards
    Last edited by Shashwat (2011-06-04 09:47:47)

    Ok  I sorted out the misprints in the file and installed xinit but still can't get it to work.
    1. There are few errors in xorg.conf that I cannot make it out.
    2. The X output says no screen found. ?
    http://paste.pocoo.org/show/399383/
    Now when I add EndSection at the last its says invalid parameter and when I remove it, I get an error "No EndSection, EOF missing"
    Kind of bugging
    Please do help.

  • Need help with set up for extensions

    I'm new to OA Framework development and am just ramping up (do have years of Java development experience) and could use some help. I've read through the OA Framework Developer Guide and gone through a few of the tutorials. My task is to add some extensions to the R12 Customer Standard pages.
    I've looked in the $JAVA_TOP at the following directory structure.
    /oracle/apps/ar/cusstd/...
    I find java classes and the server.xml files but there are no PG.xml files to work with. Are these located in a different structure? What is the best approach to obtaining the base Oracle source files to start with and for configuring your local development environment to extend R12 OA Framework pages? Do you need to include the entire $JAVA_TOP in your development client environment classpath as well?
    Thanks in advance!

    To run the oracle seeded party create/update page, you can refer &lt;&lt;your Jdeveloper Installation directory&gt;&gt;\jdevhome\jdev\myhtml\OA_HTML\test_fwktutorial.jsp.
    Create a new custom jsp similar to test_fwktutorial.jsp. Modify this JSP based on your environment and user setup. Modify the links also. With this, you should run this jsp first. By clicking the link in the JSP run, you can launch party create page.
    The error you posted in RED color is thrown because you are trying to modify the web bean hierarchy in the processFormData method. Example, setting some items property to rendered false or true. All these kind of modifications should be done in the proceeRequest method of the controller.
    Following is from DEV guide to launch the forms application.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Launching Oracle Applications Forms from OA Framework Pages
    To launch an Oracle Applications form from OA Framework, you must first define a button, link or image web
    bean. The web bean then relies on the FormsLauncher applet provided by Oracle Applications (AOL/J) to
    launch the specified form.
    Declarative Implementation
    Step 1: In the OA Extension Structure pane, select the region in which you want to create the web bean to
    launch an Oracle Applications form. Choose New > Item from the context menu.
    Step 2: Set the ID property for the item, in accordance with the OA Framework File Standards, and set the Item
    Style property to button, image, or link. You may also launch an Oracle Applications form from a submit
    button. See the Runtime Control section below for more details.
    Step 3: Set the Destination URI property of the item with a value following this format (replacing the italicized
    text as appropriate):
    form:responsibilityApplicationShortName:responsibilityKey:securityGroupKey:functionName
    For example, if you want to launch the FND Menus form, the Destination URI property should be set to:
    form:SYSADMIN:SYSTEM_ADMINISTRATOR:STANDARD:FND_FNDMNMNU
    Step 4: If you wish to pass parameters to the form, set the Destination URI property with a value using the
    following format (Note that the parameter list is delimited by a space between each "parameter=value" pair):
    form:responsibilityApplicationShortName:responsibilityKey:securityGroupKey:functionName:param1=
    value1 param2=value2 param3=value3
    Note: If you wish to send varchar2 parameter values that contain spaces, use \" to enclose the string value.
    For example, to pass in something of the form:
    TXN_NUMBER=LT INVOICE 1
    Use:
    TXN_NUMBER=\"LT INVOICE 1\"
    Step 5: Refer to the following Chapter 4 topics for information about additional properties you may need to set
    for the specific item: Buttons(Action/Navigation), Buttons (Links), or Images in Your Pages.
    *Runtime Control*
    There are no special programmatic steps necessary to launch an Oracle Applications form from a button,
    image, or link in an OA Framework page. The OAButtonBean, OALinkBean and OAImageBean support the
    special form function URL format described above for the Destination URI property. When OA Framework
    encounters this special value, it generates the appropriate URL and also adds a hidden IFrame (inline frame)
    to the OA Framework page. The hidden IFrame is the target of the FormsLauncher applet provided by Oracle
    Applications.
    Launching an Oracle Applications Form From a Submit Button
    If you wish to launch an Oracle Applications form from a submit button in an OA Framework page, you must
    use the OAPageContext.forwardImmediatelyToForm(String url) method from
    548
    oracle.apps.fnd.framework.webui.OAPageContext. An example of how to use this API is shown in the code
    sample below:
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    if (pageContext.getParameter("Apply")!=null)
    String destination =
    "form:SYSADMIN:SYSTEM_ADMINISTRATOR:STANDARD:FND_FNDMNMNU";
    pageContext.forwardImmediatelyToForm(destination);
    *Usage Notes*
    Microsoft Internet Explorer supports the IFrame element, so when you launch an Oracle Applications form from
    OA Framework, only a splash window appears. Any other windows required by the FormsLauncher applet
    use(s) the hidden IFrame as the target and therefore remain(s) hidden from the user. Netscape Navigator, on
    the other hand, does not support the IFrame element, so in addition to a splash window, the user also sees
    another window used by the FormsLauncher applet.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    let me know if you got struck.

  • Help for set classpath

    Dear Sir \ Madam
    I have download javamail-1.4.zip and jaf-1.1.zip from sun at c:\j2sdk1.4.1 directory
    Then I extract these files in same directory with folders javamail-1.4 and jaf-1.1. These folders have mail.jar and activation.jar file
    I am confused to set correct path
    Please help me

    You could have looked into installation instructions bro!
    anyways classpath looks like this
    C:\j2sdk1.4.1_03\jre\lib\rt.jar;.;%classpath%;C:\Tomcat 4.1\common\lib\servlet.jar;
    Give your jar file location after lib. Set the PATH variable too, which would look similar to this:
    C:\j2sdk1.4.1_03\bin;C:\Tomcat 4.1\common\lib\servlet.jar;.;
    You can go to
    http://java.sun.com/j2se/1.3/install-windows.html
    or
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/classpath.html
    for detailed notes.
    Hope it helps.
    Rk.

  • Help with setting an IF value when using a Pop-up Value

    Hello,
    I'm hopeful that someone out there has enough understanding with numbers to help me figure out how to program this function.
    I'm trying to create a spreadsheet that will allow me to track payments that have been reimbursed for a given service provided in a medical clinic. As the payout from the insurance companies is not only variable with time before reimbursement, but also with the actual amount that the each reimburses for a given procedure - I'm trying to create a system to track this all.
    So,  here's what I've got so far:
    On one sheet, I've created a one column - in which I've created a pop-up menu selection using three of the insurance companies that we bill out to regularly (let's call it Column I - cell I2).  On "another" sheet, I've created a list of values comprised of what the actual reimbursement from each of the three companies is for the particular service provided, in dollar amounts.
    What I'm trying to do, is set it up so that when I select say "First Choice" from the pop-up menu (cell "I2), the dollar value from the "other" sheet appears in the column following that of the pop-up menu column (column I),  with this new value now in (Column J) - cell J2.  I had then planned on being able to create a row at the bottom of the entire sheet that could then "SUM" the values represented by the newly created J2 cell.
    Any help would be GREATLY appreciated!

    Hello
    I guess that the contents of the table "rates" is clear.
    In table "Main", standard cells of column E contain a popup menu with four items :
    "company 1"
    "company 2"
    "company 3"
    In standard cells of column I, the formula is :
    =IFERROR(VLOOKUP(E,rates :: $A:$B,2,0),"")
    Yvan KOENIG (VALLAURIS, France) jeudi 28 avril 2011 18:50:26
    Please :
    Search for questions similar to your own before submitting them to the community

  • Help with setting up application form to change per week.

    Hi all, i am going to be creating a simple feedback system application on apex but from the requirements given to me I am somewhat uncertain of how to go about creating it.
    The requirements are roughly:
    A feedback system to capture thoughts and views of students each week.
    An 'admin' area for the lecturer to define how many weeks the course is running for and whether there are 2/3/4 sessions each week for the duration.
    The form in which the student will give feedback each week.
    A results chart/graph/report in the 'admin' area, (with a printable PDF possibly?)
    My question is, when the lecturer defines how many weeks the course is running for and how many sessions a week there is, is there any way of setting the form page (the student uses to give feedback) to change for each week i.e week1, week2 etc. So the student doesn't keep supplying the feedback for week1 for example.
    The number of sessions will simple enough to sort out im thinking, just create the page with the highest possible amount of sessions on, then if there is only 2 sessions a week, only 2 will be displayed to fill in and the others will be hidden. If this is possible?
    Any ideas and thoughts are welcome. Please also mention any other ways of doing this if you have any!
    Thanks in advance,
    Ashleigh

    Hello Ashleigh,
    >
    My question is, when the lecturer defines how many weeks the course is running for and how many sessions a week there is, is there any way of setting the form page (the student uses to give feedback) to change for each week i.e week1, week2 etc. So the student doesn't keep supplying the feedback for week1 for example.
    >
    The answer for the above question is YES, with the help of form based on APEX_COLLECTIONS and/or APEX_ITEM API.
    Now the question is HOW. The answer to this question is for example the Timesheets Packaged Application which was provided by OTN a while ago(say before release of APEX 4.1) which was available here:
    http://www.oracle.com/technetwork/developer-tools/apex/application-express/packaged-apps-090453.html
    The application provided a way to collect no. of hours a particular person has worked on particular timecode in a week.
    The main page consisted of a form built on collection(which was built on page load) whose first column consisted of timecode drop-down and rest of the column headers consisted of days of the week and the columns consisted of textbox for entering no. of hours worked. In short it was type of matrix form.
    Hope it helps!
    Regards,
    Kiran

Maybe you are looking for