I have jsdk2, but I can't compile servlet program

I have jsdk2 version. which create in my c:\ dirve a folder jdk1.3. I do all the program from that. But I found that some of the class files of Servlet (servletRespose etc ) is missing. What I do to recover that. Even I can't compile any servlet program from that. Pls reply to my problems.
Regards.
Ranjan

The Servlet API is part of J2EE (Java 2 Enterprise Edition). It is not included in the Standard Edition.
So you need to download and install the J2EE reference implementation or another servlet engine such as Apache Tomcat ( http://jakarta.apache.org/tomcat ). Don't forget to put the Tomcat JAR files in your CLASSPATH when compiling your servlet program.
Jesper

Similar Messages

  • Can't compile Servlet program(error in setting classpath in XP)

    I encountered a similar problem as 'hereispaddy'.
    "I have recently written a servlet program. When I compile the program (let's say "HelloWorld.java"), I've got the following error message:
    package javax.servlet does not exist
    I've download the class files and set the classpath already. Have I missed anything? "
    i would like to ask, how to set the following in Windows XP:
    set CATALINE_HOME=C:\PROGRA~1\APACHE~1.0
    set CLASSPATH=.;%CATALINE_HOME%\COMMON\LIB\SERVLET.JAR;C:\JDK1.4\BIN;
    *ive tried in control panel->system->advanced->environment variables->
    variable name:CATALINE_HOME
    variable value:C:\Program Files\Apache Tomcat4.0 (and)
    variable name:CLASSPATH
    variable value:.;%CATALINE_HOME%\common\lib\servlet.jar;C:\jdk1.4\bin
    but failed!
    Could anyone kindly tell me what's wrong with my setting?
    Thx a lot!!!

    Does Tomcat work? Can run the examples on the home page?
    The only suggestion I have at this point is to get rid of the spaces in
    C:\Program Files\Apache Tomcat4.0
    But I am still in Win98 , so I am just guessing.

  • I have an iMac model 4,1 running OSX 10.6.8.   The CD/DVD drive went bad and I have replaced it.  However I can not get disks to eject.   I have asked about this before and tried all all the suggestions I have received but I can not eject.

    I have an iMac model 4,1 running OSX 10.6.8.   The CD/DVD drive went bad and I have replaced it.  However I can not get disks to eject.   I have asked about this before and tried all all the suggestions I have received but I can not eject.  
    Yesterday I opened up the iMac and reinstalled the drive to make sure that it was not an alignment problem.   I still can not eject.   When I try to eject the drive makes noises like it is ejecting but the disk does not come out.
    How do I solve this problem?

    Hi again Hal
    Link to your other thread > The slot loading CD/DVD drive in my...: Apple Support Communities
    You have also tried resetting the PRAM as I suggestion in your other thread...?
    See resetting the PRAM > About NVRAM and PRAM
    1. Shut down the computer.
    2. Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    3. Turn on the computer.
    4. Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    5. Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    6. Release the keys.

  • I have Creative Cloud installed and Photoshop installed, but I can not open the program itself. No idea why, everything is up to date and i was using it just fine yesterday.

    I have Creative Cloud installed and Photoshop installed, but I can not open the program itself. No idea why, everything is up to date and I was using it just fine yesterday.
    2015-02-24_1129 - DavidIpromote's library

    Try resetting Photoshop Preferences.   Use your Photoshop start icon to launch Photoshop and immediately press and hole Shift+Ctrl|CMD+Alt|Option keys   Photoshop should Prompt you with Do you want your Preferences deleted. Reply yes.   Photoshop should then delete your user ID preferences and then create a default set of preferences for your ID and start successfully.

  • I have a problem with my iphone5. I don't have signal, but I can check my email, facebook... The operator is identified but I can't call

    I have a problem with my iphone5. I don't have signal, but I can check my email, facebook... The operator is identified but I can't call

    You probably don't need to do that.
    How to Remove MacKeeper or use the Uninstall option in MacKeeper.
    To erase and reinstall:
    Install or Reinstall Lion/Mountain Lion from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
      1. Select Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your startup volume (usually Macintosh HD) from the
          left side list. Click on the Erase tab in the DU main window.
      3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on
            the Security button and set the Zero Data option to one-pass. Click on
          the Erase button and wait until the process has completed.
      4. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Install button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.

  • In my iPhone 4s, since I updated to the latest iOS 6.1.2 I have noticed that my battery drains very quickly, and that after 15 days after date, I lost the cell signal, I have 3g, but I can not call or receive calls or sms. HELP!

    In my iPhone 4s, since I updated to the latest iOS 6.1.2 I have noticed that my battery drains very quickly, and that after 15 days after date, I lost the cell signal, I have 3g, but I can not call or receive calls or sms. HELP!
    Sorry for my bad english :S
    Please, please help me

    Contact the carrier.

  • I have a CC account and have paid, but I can't download products

    I have a CC account and have paid, but I can't download products
    Why?

    I think you are trying to download the software using Adobe application manager. Please let us the massage you are getting while downloading the softwares

  • Have Lion, but just can't sign out in System Preferences iCloud.The application freezes

    Have Lion, but just can’t sign out in System Preferences>iCloud.The application freezes

    Nevermind. Reinstalled Leopard. Must have not installed Printing setup utilities properly upon first install.

  • Hello i have a problem  i can not use adobe programs. The payment for the month march is not be payed, but i will pay the payment.I can not found where i can do that. Also i see that my membership is stopped.

    Hello i have a problem  i can not use adobe programs.
    The payment for the month march is not be payed, but i will pay the payment.I can not found where i can do that. Also i see that my membership is stopped.

    Try the not-charging topic of:
    iPod touch: Hardware troubleshooting
    It could be that the battery is dead.

  • TS2890 I have account but IPad can't accept it

    I have account but IPad can't accept it,said it is not a test account and you must creat new one.

    This problem seems to be an ongoing situation.  I assume these foreign travelers think they can save money by buying an IP here in the states for full price and then taking it back to their native land for use there.
    There is a bailout procedure with eBay where they can probably recover most if not all they paid for the no-contact phone.  And then there's always the chancy unlocking procedure.

  • I have transferres Adobe programs from my old Mac Book to my new Mac Book Pro, but I can´t open the programs!?

    I have transferres Adobe programs from my old Mac Book to my new Mac Book Pro, but I can´t open the programs!?

    Adobe programs don't do well with migration. You should uninstall them, run the cleaner tool (CS Cleaner Tool for installation problems | CCM, CS6, CS5.5, CS5, CS4, CS3), and reinstall from the original installers, but you also need to be aware that many older programs are not supported on newer versions of OSX so this may not go smoothly.

  • Hello i buy itunes card and i have 12 but i can not buy the jewels of the game hay day when i try show me the message contact itunes for support your purchase could not be completed

    hello i buy itunes card and i have 12 but i can not buy the jewels of the game hay day when i try show me the message contact itunes for support <<your purchase could not be completed >> what can i do

    You will need to do what it says, contact iTunes Support. These are user-to-user support forums, if you thought you were contacting Apple by posting here. Go here:
    http://www.apple.com/emea/support/itunes/contact.html
    to contact the iTunes Store.
    Regards.

  • Itunes terms and conditions have changed, but i can't accept

    itunes terms and conditions have changed, but i can't accept

    Just a note.  The Send by Email does not work on iPhone.  I click on all the pages and at the end (pg. 54) there is no Accept capability.  Is this Apple's way of saying F You?

  • HT4759 When I try to run iCloud for my PC, an error comes up that says I need windows XP or later.  This article says that windows7 will work.  I have windows7, but I can't install or run iCloud. What else do I need to do?

    When I try to run iCloud for my PC, an error comes up that says I need windows XP or later.  This article says that windows7 will work.  I have windows7, but I can't install or run iCloud. What else do I need to do?

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    SeaMonkey

  • How can i compile the program?

    hi,everybody:
    I have a program which include the next statments:
    public void println(boolean flag)
    throws IOException
    Object obj = lock;
    obj;
    JVM INSTR monitorenter ;
    print(flag);
    newLine();
    obj;
    JVM INSTR monitorexit ;
    break MISSING_BLOCK_LABEL_26;
    Exception exception;
    exception;
    obj;
    JVM INSTR monitorexit ;
    throw exception;
    how can i compile the program?
    thanks

    Hi,
    I'm trying to figure out how to use this decompiler, I have downloaded it to windows 2000 platform and it unzips to 1 file with extension "1-bin" - OS doesn.'t know what to do with and neither do I ;) - I'm starting out on something here and this tool would be useful.
    Thanks for any install instructions you might have.
    mufc1999
    Hi,
    I've had a similiar problem with decompiling certain
    classes. Try the following decompiler,
    http://jrevpro.sourceforge.net, after using this one,
    the code decompiled fine, this tool is also a
    disassembler and quite a nifty one i might add. :)
    Hope this helps!
    Have Fun!

Maybe you are looking for

  • Can I convert an existing html file to muse file?

    can I convert an existing html file to muse file?

  • Matrox MXO2 mini

    Hi I have for some time used the Matrox MXO2 mini on one of my two Premiere Pro CC PC's, and wanted to share my experience in case others was wondering how it is. http://www.matrox.com/video/en/products/mxo2_mini/ My config on the PC is: ASUS X79 Pro

  • Third Party Scheduling Software BPC 7.0

    I'm curious if anyone out there uses anything other than Data Manager/Windows Scheduler to run and schedule jobs in their version of BPC.  As our companies design currently stands we run multiple job on a very frequent schedule and could benifit from

  • BADI on BP

    does anyone know if there is a badi during opening a Business Partern (BP transaction). I've to make an authority check on the BP. Thanks to all. Enzo

  • Time Machine... seems silly to exclude

    I have Time Machine running every day. I'm sure it's fine and thankfully I haven't had to use it yet. However, it occurred to me that something is simply wrong with a system that doesn't fully list what it's backing up, but lets you exclude by specif