Installing Tomcat API's - help!

I want to write Java Servlets for uploading to my webserver, but I can't find any documentation on how to install the Servlet API! I don't need a server, just the API's required to compile servlets. My questions are:
1) How can I install the API's so I can compile servlets
2) What do I need to do to get a servlet working on my webhost (they say they support servlets)

Ok, I've got the servlet compiling now - what do I need to do to get it to run on my hosts server?

Similar Messages

  • I need to install servlet-api.jar in the libext folder.

    Hi I am doing a tutorial on struts 2.0.11.
    i need to install servlet-api.jar in the libext folder which I have created inside WEB-INF
    Now I have downloaded servlet.api which is in the zip form.
    When I extract the files. Its giving me two folders
    1. javax
    2. META-INF
    Inside javax there is a folder called servlet. Inside servlet folder there are
    a) bunch of call files
    b) http folder
    c) resources folder
    Inside http folder there are
    a) class files
    b) properties files
    Inside the resources folder there are
    a) dtd files
    b) xsd files
    Inside the META-INF folder there is the manifest.mf file
    I just need servlet-api.jar
    I think that I have extracted the contents of servlet-api.jar by using the extract feature of winzip.
    Do you think that by just changing the extension of the file from servlet-api.zip to servlet-api.jar it will do the trick or do i need to do something else.
    Please guide

    pksingh79 wrote:
    Hi ^^,
    your replies were very helpful. I did try to check the lib folder of the webserver and there was not servlet-api.jar. However I downloaded a dummy project and it did have servlet-api.jar in it, so I am ok for now.
    thanks and regards,
    PrashantYou should not be doing that. Always use the one from the application server which you're going to use. Otherwise you will possibly get in runtime trouble due to version differences.
    The actual location and filename of the servlet API might differ per application server implementation. If it was for example Tomcat 6, it is the servlet-api.jar in the /lib directory. If it was for example Glassfish (the current release), then it is the javaee.jar in the /lib directory.

  • Error while installing DI API (32 bit) for SBO 9.0 PL 05

    Dear Experts ,
    I'm trying to install version 9.0 (32 bit) on my machine (windows 7 64 bit) . Everything is installed successfully except DIAPI . I'm not able to install the DI API. I try to uninstall / install many times but without luck . Cleared the SAP folder, temp folder but still when it comes to DI API installation it just failed.
    Any help would be much appreciated .
    Thanks in advance.

    Hi Nagarajan,
    Thanks for your prompt reply. The installation setup is on my local machine and i have the local admin rights on machine machine. And I don't have any problem in installing other components including server tools, server and client etc.
    Friday I changed my computer name keeping SBO 9.0 instructions in mind (not to include any special character in computer name) and then I uninstall sap 8.82 from control panel , everything related to SAP was removed. Then I try to install SAP 9.0 PL 05 .
    Server tools -- > installed
    Server  -- >Installed
    Client -- > installed
    SDK -- > Installed
    DI aPI (32 but ) -- > Error -- > Another version is already installed .
    I looked in control panel again -- > nothing there.
    Then i again uninstall everything (for V9.0) -- > delete sap folder from program files (x86) restart my system --> again same error regarding DI API.
    This error was showing me the registry value so I search the registry and found there that DIAPI related version 8 is still there .
    So I took registry backup and try to rename registry key and value but with no luck . Still i was not able to install DI API
    So today morning I delete the all the references from registry related to that value (the one i was getting showing Another version is already installed). and I start getting this error i.e. the network related error which is 1316.
    I restore the registry backup to Friday's backup and then again try to install but I'm getting 1316 error constantly.
    Try to clean the registry and fix the registry errors with CC cleaner but nothing is happened still stuck with 1316 error.
    Regards

  • "Invalid DOS version" error message when installing Tomcat in Windows98

    I tried to install Tomcat 5.0 in Windows 98. At first, it produced "Out of Environment Space" error message. I then changed the "Initial Environment" from Auto to other values (bigger than 2816) for both startup.bat and shutdown.bat.
    When I restarted the Tomcat, it produce "Invalid DOS version" error message. I thought about updating the DOS but previously when I had WinXP installed in computer, I couldn't access to the server due to the dos version issue.
    Is there any way to handle this? I would really appreciate the help:) Thank you very much..

    no, use the serial number listed on the page where you downloaded acrobat 7, not your acrobat serial number

  • Can we install tomcat using BO installer files

    Hi Everyone,
    We want to install Business Objects with Tomcat but on 2 separate servers. Tomcat in one and the rest of the BO Servers in another. Can we use the installer files provided by SAP to install just the Tomcat? If yes what should be the right order, install BO servers first and then Tomcat? Your help and suggestions would be very much appreciated.
    Thanks in Advance.

    Hi
    The sequence to setting up a split deployment is to first install the BO Services and CMS on one server (note: deselect the WACS option) and then secondly setup the Web Tier (using the bundled Tomcat software) on the second server.
    PS: I prefer rather to use the custom installation option as then you have more control over the components been installed.
    After installing the 2 servers, you will have to adjust ceratin configuration files on the tomcat server to point to the correct CMS.
    For example:
    if ypou have the following servers:
    - Server 1 (i.e. bodev) for the BO services
    - Server 2 (i.e. webdev) for the Web tier
    After the installation the web server will have references to the CMS as follows: webdev:6400, this will have to be changed to bodev:6400 where the CMS is located.
    Regards
    Derek

  • Installing Tomcat as application server

    I have to install Tomcat 4 on a linux machine (Debian) as an application server (that is Apache serves the static content (html) and Tomcat serves jsp file)
    How can I do ?
    Thanks
    Roberto
    ([email protected])

    For installation see http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html
    And for integration of Tomcat with Apache web server, see if this helps
    http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-apache-howto.html

  • How to install Tomcat 5.5.9 in Solaris 9

    Hi guys,
    I ran into problem when installing Tomcat 5.5.9 in Solaris 9. I downloaded tomcat from windows xp machine then ftp to Sun Solaris. I use winrar in Windows to check if the downloaded tomcat5 is corrupted, but it's not. I tried the following command:
    gunzip jakarta-tomcat-5.5.9.tar.gz
    then a new file generated called jakarta-tomcat-5.5.9.tar
    tar xvf jakarta-tomcat-5.5.9.tar
    when uncompressing half way, i got the following error message:
    tar: directory checksum error
    Please help, Thanks in advance !
    regards,
    Mark

    sorry guys, the system is:
    SunOS devserver 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-250
    64-bit sparcv9 applications
    32-bit sparc applications

  • Installing tomcat on win98

    Hi,
    I have installed tomcat on win98, when i give startup command in tomcat_home\bin its giving "out of environment space" error message. pls help
    thanks

    Do a Google search on "out of environment space". It'll tell you how to modify your autoexec.bat to fix it. - MOD

  • Installing Tomcat 5.0 on window98

    I am installing Tomcat 5.0 on window98 and Jdk1.3. I also set the java_home variable But still the Tomcat is not working. I get the error that Catalina_home and Catalina_base is not found. So please help me on this topic. Thanks in advance.

    Check this site for a detailed installation procedure of Tomcat.
    http://www.coreservlets.com/Apache-Tomcat-Tutorial/

  • Error installing Tomcat

    Hello,
    I'm installing Tomcat on a Windows ME machine. I've set the CLASSPATH to C:\Tomcat\jakarta-tomcat-3.2.3, the JAVA_HOME to C:\jdk1.3.1, and the TOMCAT_HOME to C:\Tomcat\jakarta-tomcat-3.2.3. The error I'm getting when I use the startup command is below, with the result that Tomcat is not starting.
    Unable to set CLASSPATH dynamically.
    Note: To set the CLASSPATH dynamically on Win9x systems
    only DOS 8.3 names may be used in TOMCAT_HOME!
    Setting your CLASSPATH statically.
    Out of environment space
    Out of environment space
    Out of environment space
    Using CLASSPATH: C:\Tomcat\jakarta-tomcat-3.2.3\classes;C:\Tomcat\jakarta-tomcat
    -3.2.3\lib\ant.jar;C:\Tomcat\jakarta-tomcat-3.2.3\lib\jasper.jar;C:\Tomcat\jakar
    ta-tomcat-3.2.3\lib\jaxp.jar;C:\Tomcat\jakarta-tomcat-3.2.3\lib\parser.jar;C:\To
    mcat\jakarta-tomcat-3.2.3\lib
    Out of environment space
    Starting Tomcat in new window
    Does anyone have an idea about what the problem might be?
    Thanks greatly,
    Adam

    I've set the CLASSPATH to
    C:\Tomcat\jakarta-tomcat-3.2.3This seems not very useful. Are there any classes in this very directory? Forget about it, and have Tomcat take care of it.
    TOMCAT_HOME to
    C:\Tomcat\jakarta-tomcat-3.2.3.I think you could eve forget about TOMCAT_HOME. Tomcat will use the directory of the batch files as its home, if not specified.
    Note: To set the CLASSPATH dynamically on
    Win9x systems only DOS 8.3 names may be
    used in TOMCAT_HOME!So: change the directory name to C:\tomcat and try again. Then you'll at least eliminate one possible cause... Tomcat puts no stuff in the Windows registry, so you savely rename the directory.
    What about setting JAVA_HOME? I thought that was the only one that could be required... Like:
    set JAVA_HOME=c:\jdk1.3
    Out of environment spaceThis implies that your WinME cannot handle any more of the "SET A=B" commands in the startup batch file. This will indeed mess up the script's behavior, as Tomcat tries to create the actual start command using such SET commands. Even prior to caring about classpaths etc., this definitely needs to be solved.
    In Win9x one could click the left upper DOS logo in a DOS box (or right-click a shortcut or .bat file) to change the environment space from "auto" to some large value. Maybe it helps... What about WinME?
    a.

  • Easy Steps to Install Tomcat and RUN

    Hi dears,
    i already post regarding this title, but still some member asking me its not working ,, so i again post and explain in different way,
    i hope it will help you..
    steps
    first u install jdk x.x
    second u install tomcat x.x
    steps
    1) for ex : u install
    jdk       >  c:\jdk1.4.0
    tomcat >    c:\tomcat4.1after installing tomcatx.x,
    u have to set some environment variables,
    2) go to my computer -> right click ->properties -> advance -> environment variable - >
    see in that system variables column path ---> select that path --> click edit button and add this code
      ;c:\jdk1.4.0\bin;c:\tomcat4.1\bin;click ok button,
    3) click new button and type
    variable name : JAVA_HOME
    variable value : c:\JDK1.4.0CLICK OK
    4) click new button and type
    variable name : CATALINA_HOME
    variable value : c:\tomcat4.1CLICK OK
    OK OK OK
    5) OPEN BROWSER AND TYPE
    http://localhost:7001(or)
    if server not start means:
    go to control panel --> administrator tool -> services
    in that you see that tomcat4.1 , select that line by click on that word and c in top of toolbar, weather it is running state or in dead state,
    if it is in dead state , u just click start button,
    or better to click restart button ,
    and check
    http://localhost:7001(or)
    stop that server via above (or) from start -> programs-> tomcat -> stop tomcat..
    go to ms-dos prompt & enter in tomcat\bin dir
    type this line
    c:\tomcat4.1\bin>     catalina   runsure it will work,
    thankx

    I don't know, but I would assume that the MBA can install and can run Autocad with Boot Camp.
    The question is more, can the software be effectively used with such a small display.
    Audocad and vector packages such as Adobe Illustrator are typically run using large screens, so a lack of display real estate may mean the process is frustrating, even if it is possible.
    I face the same thing - I am considering an MBA 13" and need to run Illustrator, and that would mean a lot of scrolling.
    I  think you would be advised to ensure you bought an MBA with a high specification of processor and memory to give yourself the best chance of success.
    Is there a Mac version of Autocad you could switch to, to make for less complication? I've managed to shift all but one of my Windows applications to OS X now, and only occasionally use Windows on the system.

  • Unable to install in 64 bit, HELP!!!

    I've had Firefox 3.6 installed on my 32 bit system and it works great (was installed by Hughesnet tech at my home) I tried downloading and installing on the 64 bit and no luck. I have severe memory problems and can't remember what showed when install failed.v Please help..........thanks.........Bill

    Hi!
    What you did is correct,
    To install odbc you just have to copy the files inside instantclient-odbc-windows.x64-11.2.0.3.0.zip to C:\OracleClient64 as you already did.
    When you run odbc_install.exe it popup a cmd prompt for very short period of time. It´s fine.
    What it does is to create the values you saw in the registry, an thats why if you run it a second time it said that already exist. With that, you have installed odbc, now you can test it following this link:
    http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/projects_and_teams/connect_to_oracle_via_odbc.html
    Hope it helps
    Regards

  • How to completely remove Safari and reinstall. I don't have Safari on my Mac, yet, it says I can't install the newest Safari because a newer version is already installed... Help?

    Okay. So, Safari was giving me some trouble, right? So, I thought I would delete it and reinstall it. I never had a problem doing so before, right? So, why not? I did, and then, when I tried to reinstall it, it tells me I have a newer version already installed. Can someone help me out here?

    Hi..
    Are you running Lion v10.7 by chance even though your profile indicates v10.6.8   ??
    I ask because you can only reinstall apps using Lion Recovery
    Much better to ask for help with Safari here before trying to delete the app and reinstall.
    Is the Safari app still in the Trash by chance?

  • The search function in the itunes store does not work.  It will accept a request and suggest searches but then it locks up and will not search.  Clicking on the magnifying glass or a suggested search does nothing.  Re-installing itunes has not helped.

    The search function in the itunes store does not work.  It will accept a request and suggest searches but then it locks up and will not search.  Clicking on the magnifying glass or a suggested search does nothing.  Re-installing itunes has not helped.

    everything you stated here is exactly what i have done and have got nowhere. i have windows 7 64 bit on a hp 8 g of ram desktop. im also looking for help

  • Can't Get My Servlets to Run in Tomcat. Please help...

    Hi!
    I've been banging my head against the same brick wall for a day and a half now and am getting pretty desperate...
    I installed Tomcat 4.1.24 with no problem and successfully ran one or two of the example servlets. However, I can't get my own (working) servlets to run in either ROOT or any other folder that I create under webapps. If I move my servlets into webapps\WEB-INF\classes, though, they run fine!
    Using 'x' represent the folder I've created, I have placed a servlet called FirstServlet in x\WEB-INF\classes. I have also placed the following web.xml file inside x\WEB-INF:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>FirstServlet</servlet-name>
    <servlet-class>FirstServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>FirstServlet</servlet-name>
    <url-pattern>/servlet/FirstServlet</url-pattern>
    </servlet-mapping>
    </web-app>
    [I have also tried omitting '/servlet' above and tried changing the name of the url-pattern.]
    In addition to this, I have tried editing the server.xml file by adding the following context:
    <Context path="/x" docBase="webapps/x" debug="0"
    reloadable="true">
    </Context>
    Despite all of this, I still continue to get the error message 404: The requested resource is not available.
    Can anybody please give me some idea of what I'm doing wrong or am failing to do??
    Many thanks in anticipation.
    Cheers.
    Jan

    Hi, Sharnee.
    Thanks for taking the time to email me. However, I really don't need to test my servlets, since (a) they all work under the JSWDK Web server and (b) the one that I am attempting to test ('FirstServlet') works fine when I place it in webapps\examples\WEB-INF\classes.
    In answer to your previous email, the URL I have used in attempting to run my servlet (with the servlet in ...\webapps\x\WEB-INF\classes, of course) is:
    http://localhost:8080/x/servlet/FirstServlet
    In desperation, I have also tried each of the following (with similar lack of success):
    http://localhost:8080/webapps/x/servlet/FirstServlet
    http://localhost:8080/ROOT/servlet/FirstServlet (after copying the servlet into ...\webapps\ROOT\WEB-INF\classes)
    http://localhost:8080/webapps/ROOT/servlet/FirstServlet
    Any suggestions?? I'm really frustrated, since the basic process that is required seems so straightforward, but simply isn't working for me!
    Thanks in anticipation.
    Jan

Maybe you are looking for

  • Voice memos not playing and not synced

    some of my voice memos are not playing and are not being synced to itunes, what can I do?

  • New keyboard - old keyboard

    After having seen the MacBook Air, I've waited - like probably a lot of us - for a revision of the MBP , with multitouch trackpad and probably other improvements. And there it is - with a Penryn CPU, more VRAM, bigger HD and cheaper price at least in

  • Sales Order quantity

    Hi, I've created a sales order with decimal quantity, system allows this although i didnt maintain multuple UOM or I didnt assign any rounding profiles in Material Master. SAP should not allow decimal quantity in sales order.  SAP should allow only B

  • PNGs are jagged in Flash MX

    Hello, I am creating a layout for a website using Flash MX (I know, I need to upgrade). I basically wanted to use a loader to load external SWF to make the pages transition smoothly. I have created a hollow frame and I am using buttons for navigation

  • CWB Plan not available

    Hi, I am implementing Compensation Workbench for Salary Increment, for this I have completed all the setup steps but unable to see the plans on the Tasks in CWB Self Service Home. The steps which I have done are: 1. Define plan years for the Compensa