Plz help Me any one i am getting errors in Servlets

My OS is Windows 2000.I am using J2SDK1.4.0_02(in c:\J2SDK1.4.02_02\) and in order to run the SERVLETS I recently installed the J2SDKEE1.3.1 (in c:\J2SDKEE1.3.1). I updated the class path to c:\ J2SDKEE1.3.1\bin and c:\ J2SDKEE1.3.1\lib\jsdk.jar .Now I wrote a simple servlet program SimpleServlet.java and saved it in c:\MyPrograms.
Now when I compiled this program at prompt as follows
C:\MyPrograms\>javac SimpleServlet.java
I am getting the following errors
1)Package javax.servlet doesn�t exist
2)Package jaavx.servlet.http doesn�t exist
Can somebody please tell me where I went wrong. My guess is that the problem is with installing J2SDK. Somebody please let me out this problem.
Thanx!

Okay, you installed the Enterprise java sdk. I have never seen this jar before: "J2SDKEE1.3.1\lib\jsdk.jar". There should be the j2ee.jar in the same folder, this is what contains the Servlet API.
Next, when compiling your servlet include the classpath in your javac statement:
javac -classpath %CLASSPATH% SimpleServlet.javaWhen installing the J2EE SDK, you should have set up your J2EE_HOME and J2EE_LIBS env entries. Rather than just add the jar to your class path, use the J2EE_LIBS ref when compiling instead:
set J2EE_HOME=C:\J2SDKEE1.3.1
set J2EE_LIBS=%J2EE_HOME%\lib
javac -classpath %J2EE_LIBS%\j2ee.jar SimpleServlet.javaRather than call "set" each time add them to your System properties.
Cheers,
Anthony

Similar Messages

  • G580 Smart Fan Noise PLZ Help me Any One...PLZZZZZZZZZZZZZZzz

    PLZ help me. My lenovo g580 When power on ..Just hearing Noise . Its Smart fan Noise. Plz Help Me Bro...........

    hi Arif664
    Welcome to Lenovo Community Forums!
    You may want to try a software Called speed fan, This gives control to your Fan and also shows Temperature readings.
     Other Lenovo Motherboard have Restrictions for controlling the Fan. But give it a shot If it detected your fan then you're all set. adjust the Fan to your desired speed and fine tune it with the Temp that you're getting
    If the Fan really get too Loud, beyond normal, I would still suggest to call Lenovo Technical Support for Assistance.
    Best Regards
    Solid Cruver.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Hi..............I Stuk up with a problem in JTree Please, help me any one..

    Hi,
    I created a JTree where the DefaultMutableTreeNode is created at run time and for this node, the leaf items are added dynamically.....Now my problem is, I should get a popup menu when i click on the treenode particularly-----
    * Node1
    -------Node11
    -------Child1
    In this I want a popup only for the Node11 & its child elements if there is any Node2 also i don't want a popup and also for Node1 i don't want, when I am trying this I am getting the Popup to all nodes and child elements, please, help me any one who cross over this problem.............
    Thanks In Advance,
    Regards,
    Sarikakiran

    Firstly, do you know how to detect the right click? (Use a MouseListener.)
    When you receive the MouseEvent for the right-click, you can get the coordinates of the click (i.e. where on the JTree the mouse was clicked).
    You can then use JTree.getPathForLocation to get the path for the clicked node, which is a TreePath object. Use TreePath.getLastPathComponent to find which node was actually clicked on.
    Having determined which node was clicked, you can then make a decision about whether to show a popup menu.

  • I have a hp photosmart B8550 that has stopped printing black. Any help from any one?

    i have a hp photosmart B8550 that has stopped printing black.  I put in a new black cartridge, but still no luck.  i am about ready to trash the unit.  It never has worked well and uses a lot of ink.  Any help from any one?

    Hi sydnoid_615 
    Sorry to hear that you are having this issue and I hope you are otherwise doing well;
    What Operating System?
    If windows Xp or later try this  HP Hardware Diagnostic Utility
    Veriify the printer firware and software up to date  Go Here select your OS and verify 
    How your printer is connected to your computer USB, Wireless, Ethernet ,ETC)
    if networked check the firware of the printer is the latest as well
    Hope it hepls;
    RobertoR
    You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!

  • My iphone 3gs downgrade 5.0 to 4.33 and unlock with redsnow but network no  help me any one pls

    my iphone 3gs downgrade 5.0 to 4.33 and unlock with redsnow but network no  help me any one pls

    hi
    dear
    ......downgrade is currect   use ireb tinyumberla edit host and itune  no any error

  • I jailbroke my ipod and its in recovery mode i cant take it out of it and i cant restore becasue i changes host to sariks sever i need help can any one help me

    i cant take it out of it and i cant restore becasue i changes host to sariks sever i need help can any one help me please please i just got my ipod i realy need help

    Sorry, due to the Terms of Use, problems with jailbroken devices can't be discussed here.

  • Changed AppleID p-word and now can't login to icloud on mac mini. I use correct password and I get spinning grey wheel. I know it's the correct password cause any other p-word gets error message. Also, my time capsule is blinking amber.

    Changed AppleID p-word and now can't login to icloud on mac mini. I use correct password and I get spinning grey wheel. I know it's the correct password cause any other p-word gets error message. Also, my time capsule is blinking amber. I've reset my password a few times and it doesn't help. Also have shut down completely and unplugged everything to no avail.

    Hey jamesarm97 & diegofoto,
    On August 21st, some users may have been unable to access iCloud services for a short period of time. Apple worked quickly to resolve these issues, however you two may have experienced them. To check the current status of these systems please see:
    Apple - Support - System Status
    http://www.apple.com/support/systemstatus/
    If either of you are still experiencing issues, you may want to troubleshoot with the following articles:
    iCloud: Troubleshooting web browser issues with iCloud.com
    http://support.apple.com/kb/TS4050
    iCloud: Account troubleshooting
    http://support.apple.com/kb/TS3988
    Thanks,
    Matt M.

  • Need query... help me any one...

    Hi,
    i have the table like this,
    | city | caste | cnt |
    | 1 | 1 | 2 |
    | 1 | 2 | 3 |
    | 2 | 1 | 1 |
    | 2 | 2 | 2 |
    | 3 | 1 | 3 |
    | 3 | 3 | 1 |
    i want to select the top caste which is having the most cnt value for the each city.
    expecting output
    | city | caste | cnt |
    | 1 | 2 | 3 |
    | 2 | 2 | 2 |
    | 3 | 1 | 3 |
    Can you any one help me...?
    Thanks,
    S.Ashokkumar.

    Hi,
    i have tried like this...
    select t.city,t.caste,max(t.cnt) as mm from (
         select city,caste,count(caste) as cnt from city group by city,caste)t
    group by t.city
    order by count(t.city) desc
    it gives the wrong result set.
    Is it correct or not?
    Thanks
    S.Ashokkumar.

  • Plz help! my ipod no longer gets charged when connected to my computer

    as the topic suggests, my ipod with video(5.5G) always shows that its fully charged when connected to my computer. but it wasn't like this a period of time ago, i wonder why. plz help me. i now dare not to transport more than 1g files to my ipod in case it would run out of battery and sth worse may follow...
    since my computer is old with a celeronA 533(overclocked to 760, not a big difference), i closed lots of the system services which i think are useless, maybe that's the problem? but which service should i start? ipodservice.exe is always running when i connect my ipod with my pc
    btw, i must say sorry with my poor english, hope you understand what i mean

    If you mean that when plugged in it shows the iPod being fully charged but when you disconnect the battery is actually dead, then you probably have a defective battery.
    Patrick

  • Please help me any one

    Iam getting error doing of VA01 Posting only possible in periods 2011/12 and 2011/11 in company code

    Hi Vikram,
    Might be jan period is not open in your sysytem, go to OB52 and open the January period.
    Regards,
    Ranjith

  • Hi plz help me out Ora-2097,ora-00439 error

    hi plz help me out .i'm getting this error in alert log file
    ora-2097 :parameter cannot be modified because specified valued is invalid
    ora-00439: feature not enabled: database resource manager

    Do you know what parameter may have changed?
    The error indicates something about the database resource manager so that may be a clue.
    If you have a backup of the init.ora file now would be the time to pull it out.
    If you really get stuck comment out all parameters except what you think you really need and then add them in one by one until you find the culprit.

  • [PLZ] Help me how to reinstall DW CS3 [Error MSG]

    Hello !
    plz help me i have downloaded DreamWeaver cs3 for first i
    have been installed . but if i go for reinstall this MSG show
    please insert DreamWeaver CS3 for continue this picture for
    erreur msg :
    http://up.damasgate.com/files/yc3krgt49xv4k7el5int.jpg
    and sorry i dont speak english ..:)
    X_5

    Take a look at this thread if you haven't already: Re: Schedule problems
    Based on the error message, it appears to be an issue with privileges. Make sure the user specified in the error message has the privilege to access the report.
    Also I believe usernames are case sensitive, so check that out as well..

  • Cant get help off any one , too much messing about to get you tube to work what a load of sh...

    why has you tube stopped playing

    You can try basic steps like these in case of issues with web pages:
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key 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 websites that cause problems.
    "Clear the Cache":
    *Firefox > Preferences > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Plz help me some one

    I have purchased my BlackBerry z10 six months back. 2nd day my mobile started giving trouble. Even i replaced my mobile. But still im facing same problems. I cant able to charge my mobile more than 80%. If my mobile battery reached 30% automatically it gets switch off. Again i cant able to.switch on it. Only after plugging the charger mobile is switching on. Now im started facing a new problem if i switch off wifi my mobile getting switch off.. i gave my mobile to your service centre for more than 3 times just they r updating software and giving back.. but the problems are not solved. Plz kindly help me.

    Duplicate:
    http://supportforums.blackberry.com/t5/BlackBerry-Z10/blackberry-Z10-problem/m-p/3031121#nobanner
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • PLz help i have one dought? IN ORACLE PL/SQL

    1.write a block that accepts name and display it 5 times in output screen ?
    (this my question i typed like in this SQL>screen but i'm getting out put ony once can u short out in this problem )
    1 declare
    2 name varchar2(15) :='&name';
    3 n number(2) :=1;
    4 begin
    5 while n <=5
    6 loop
    7 dbms_output.put_line(name);
    8 n :=n+1;
    9 end loop;
    10* end;
    Enter value for name: dfhdfhfd
    old 2: name varchar2(15) :='&name';
    new 2: name varchar2(15) :='dfhdfhfd';
    PL/SQL procedure successfully completed.
    [CAN U TEL TEL ME HOW DO IT AND SEND ME THE CORRECT CODING THAT WOULD BE HELP FOR ME .I HAVE LAB WITH MY COURSE]
    Regards
    D.Muthu
    Message was edited by:
    user628154

    Hi
    You need to set serveroutput on.You will only get output once you would set it.You mentioned,you are getting one output.You didnt print it here.Where it is?
    Three general thngs.
    1)Please don't use caps while posting.I hope you know it,in internet chats,forums,it is considered as shouting.
    2)Please read Pl/Sql guide from docs.These things are covered in details there.You can read it here.
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/toc.htm
    3)Always mention your database and o/s version while posting.
    Aman....

Maybe you are looking for

  • How do I get a licence deactivated that is on a dead computer

    I purchased a few years ago CS4 - I still have one licence active another was not deactivated by my ex husband who sold his laptop and the third was on a hard drive that was replaced and the licence not deactivated. I need a copy on my macbook pro th

  • Standard print program for fi invoice smartform printing

    Hi friend, Is there any standard print program available for printing FI related invoice . I want print program for printing smartforms. I want to know any method for searching the standard print program for printing smartform in Fi module. Thanks &

  • Change submit destination based on form selection

    Is it possible to change the recipient of a form based on the info that was filled? for example checkbox A is selected -> form emailed to recipient A checkbox B is selected -> form emailed to recipient B checkbox A and B is selected -> form emailed t

  • CC updates always fail? Need help.

    Hello all, I have CC and a prompt to update Premiere Pro and Photoshop two programs I use frequently. Recently, however, I have been unable to open either because I have yet to install the updates. Problem: each time I try to install the updates they

  • Buying office supplies best practice

    Hi, I need the following requirement. Please advice. The management requires that office supplies are bought. Case: The requisting department will create PR's. The buying department will convert the PR in PO's and send them. These office supplies con