Servlet compilation - where to find the class files ?

Hi !
I am new to servlets and I have just downloaded Tomcat 4. I think that a servlet has to extend the HttpServlet class and throws a ServletException exception, right ? But where can I find these classes for Tomcat (I think that these don't ship with it !). I tryed to fix the problem by downloading these classes for JSDK but the Tomcat examples (which I could run) did not compile !...
It is perhaps a silly question, but could someone help me out ?
Thank you

There is a package called servlet 2.3 wich contains all the classe you need to create servlets, you can download it from
http://java.sun.com/products/servlet/download.html

Similar Messages

  • Where to find Java Class File Specification for Java 5.0?

    Where to find Java Class File Specification for Java 5.0?
    thank you in advance.

    same place you found it for 1.4Can u give more details? I thought the class spec for Java 1.4 is the same as Java 1.2.
    anyone can tell where to find Java Class File Specification for Java 5.0?
    Thanks.

  • Cannot find the class file

    Hi All,
    Can any one help me regarding the issue?
    Error:
    package com.support.misc.feedback
    I am getting the following error for the above line. But I have created the Hierarchy in folder structure. But still it is throwing the error.
    1. Cannot find the class file for com.sapportals.htmlb.page.DynPage
    2. This compilation unit indirectly references the missing type com.sapportals.htmlb.page.DynPage (typically some required class file is referencing a type outside the class path)     FeedbackBean.java
    Thanks in Advance.
    Message was edited by: Gowsika Kannan

    Hi Gowsika,
    the class needed is located in htmlb.jar which can be found under <irj-root>/WEB-INF/portal/portalapps/com.sap.portal.htmlb/lib
    You need to integrate this jar in your .classpath
    Hope this helps,
    Robert
    PS: Please do not post the same question 3 times

  • Cannot find the class file for com.sap.portal.services.api.connectorgateway

    Hi,
    I was trying the "How to BI JAVA SDK in a Portal iView and get the following error.
    The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.portal.services.api.connectorgateway.IConnectorGatewayService. Fix the classpath and try rebuilding this project.
    I have the following in my portalapp.xml file
    <property name="SharingReference" value="com.sap.portal.ivs.connectorservice"/>
    and i have also added the jar file "com.sap.portal.ivs.connectorservice_api" in the set of lib's
    Has some faced a similar issue? or can someone suggest how I could possibly resolve this.
    Thanks,
    Smitha

    Hi Smitha:
       My webdynpro dc was build failed for "This compilation unit indirectly references the missing type com.sap.engine.services.webservices.espbase.client.dynamic.content.GenericObject (typically some required class file is referencing a type outside the classpath)".
    How should i do?  Thank you!

  • Where to put the class file

    i am using tomcat 4.1.27 server and i created a UserData.java file as a bean; i have placed the class file in the WEB-INF/classes folder. still i get the following error:
    ==============================================================
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 21 in the jsp file: /ics334/Javanese/name7.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\ics334\Javanese\name7_jsp.java:60: cannot resolve symbol
    symbol : class UserData
    location: class org.apache.jsp.name7_jsp
    UserData user = null;
    ^
    An error occurred at line: 21 in the jsp file: /ics334/Javanese/name7.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\ics334\Javanese\name7_jsp.java:62: cannot resolve symbol
    symbol : class UserData
    location: class org.apache.jsp.name7_jsp
    user = (UserData) pageContext.getAttribute("user", PageContext.SESSION_SCOPE);
    ^
    An error occurred at line: 21 in the jsp file: /ics334/Javanese/name7.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\ics334\Javanese\name7_jsp.java:65: cannot resolve symbol
    symbol : class UserData
    location: class org.apache.jsp.name7_jsp
    user = (UserData) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "UserData");
    ^
    3 errors
    Apache Tomcat/4.1.27
    ===============================================================
    the structure of the jsp file is as
    <%@ page contentType="text/html" %>
    <%@ page import="java.sql.*,java.util.*" %>
    <%@ page import ="javax.servlet.*"%>
    <%@ page import ="javax.servlet.http.*"%>
    <html dir="rtl">
    <head>
    <meta http-equiv="Content-Language" content="en-us">
    <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>New Page 1</title>
    </head>
    <body>
    <p dir="ltr">
    <jsp:useBean id="user" class="UserData" scope="session"/>
    <jsp:setProperty name="user" property="*"/>
    <font size="5">Your Name is :<%= user.getUsername() %> <BR></font>
    </p>
    </body>
    </html>
    can anyone help plz?

    I am also facing the same problem. Try placing ur
    class files in tomcat's /common/classes folder.
    Sometimes it works. How ever it did not work in my
    case. Hope it works in your!!This ain't a right way of doing it... when creating a web-app, the files should be contained in it.
    The problem is can be resolved by packaging the class in say beans. Then place that class in WEB_INF/classes/beans.
    Cheers!
    ***Annie***

  • Where to place the class file of the java bean when using the packager

    I am using the activex bridge in j2se 1.5.0_06
    now i have created the jar file for my bean but where do i place the class file?
    i.e the bean..if i keep it in jdk\bin the packager gives me an error..i created a folder in my public jre jre\axbridge\bin and placed the class file there too but even this didnt work
    Kindly tell me what is the fully qualified package bean name if i have placed all my files under jdk\bin..

    D:\Java\jdk1.5.0_06\bin>packager -reg d:\java\jdk1.5.0_06\bin\PersonBean.jar Per
    son
    Processing D:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\\Person.idl
    Person.idl
    Processing D:\PROGRA~1\MICROS~2\VC98\INCLUDE\oaidl.idl
    oaidl.idl
    Processing D:\PROGRA~1\MICROS~2\VC98\INCLUDE\objidl.idl
    objidl.idl
    Processing D:\PROGRA~1\MICROS~2\VC98\INCLUDE\unknwn.idl
    unknwn.idl
    Processing D:\PROGRA~1\MICROS~2\VC98\INCLUDE\wtypes.idl
    wtypes.idl
    Registration failed:
    The packaged JavaBean is not located under the directory <jre_home>\axbridge\bin
    this is the error i get

  • Where to find the log - files ?

    Hi,
    because it is not possible to debug my IView Apps
    , I would like to examine the portals log files for errors such like this :
    +" Portal-Runtime Error
    Fehler aufgetreten bei der Verarbeitung eines Request für :
    iView : KWGLaufverfolgung_IView.KWGLaufverfolgung_Select
    Komponentenname : KWGLaufverfolgung_IView.KWGLaufverfolgung_Select
    iView cannot display.
    There was a problem processing this .NET component
    Contact your administrator if the problem persists.
    Exception id: 11:59_19/05/06_0004_605012450
    See the details for the exception ID in the log file+
    Where can I  find the log-file ?
    Thanks
    Erhan

    Hi Vinoth,
    thanks four your post,but thats not the thing i wanted to know. By now I have given it up to look for an anwser for beeing able to debug my applications, because there is no solution (whatever the cause could be).
    What I want to know now is, where can I find the portal log files?
    Regards
    Erhan

  • Where to find the css file for logon page customization

    Hi All,
    I am doing the logon page customization but i am not finding the stylesheet to change the background colors.
    While testing it is taking the default css stylesheet.
    Can anyone suggest from where to edit the css file?
    With Regards
    Ashutosh

    Dear Ashutosh
    You can find the css folder under the logon par file.
    Please find below reference for modifying the PAR file:- http://help.sap.com/saphelp_nw04s/helpdata/en/bb/1bb8428e05c86ae10000000a155106/content.htm
    A fast and easy Portal logon page customizing
    Modifying The Logon Par(or customising the Logon Screen)
    Customizing Portal Logon Screen
    Portal Customizations Intro - Login Part 1
    Portal Customizations Intro - Login Part 2
    Hope it will helps
    Best Regards
    Arun Jaiswal

  • Where to find the war file

    i would like to deploy my jsf application (done in sun one studio + sun aaplication server + Mysql) in tomcat.
    where do i find the war file???

    hi!
    Move into the folder in which you'r project is placed. Then issue the following command:
    jar -cvf filename.war . dont forget . at the end which means current directory

  • Where to find the log file

    Hi,
    I am gettting the following runtime portal error and do not know where to find it.
    I have searched in my c drive but nothing has been found.
    Do you guys have any idea where i can locate this error log ??.
    Runtime error portaal
    Fout opgetreden bij verwerking opdracht voor :
    iView : pcd:portal_content/com.getronicspinkroccade.GetronicsPinkRoccade/com.getronics.civision.CiVision/com.getronics.civision.civga.civga/com.getronics.civision.civga.iViews/com.getronics.ExampleOneIntl
    Naam component : WorkShopInl.default
    Error occurs during the rendering of jsp component.
    Exception id: 10:28_12/10/05_0005_3628850
    See the details for the exception ID in the log file

    Log and trace messages are written in <installation_path>j2eeclusterserver0log<b>defaultTrace.trc</b>. But it's very hard to read this file's content with a text editor... So you should use the LogViewer utility. You can use either the standalone or the integrated LogViewer that you can find in <i>J2EE Visual Administrator -> Server XX -> Services -> LogViewer</i>. Have a look at this weblog for learning how to use it:
    Netweaver Portal Log Configuration & Viewing (Part 2)
    Davide

  • Cannot find the class file for javax.microedition.io.ContentConnection

    I've downloaded and configured eclipse j2me plugin and am having no difficulty
    creating Midlets according to the eclipse documentation
    http://eclipseme.org/docs/createProject.html
    (Also I have sun java wireless toolkit 2.5.2)
    (I have imported wtk252 in window/preferences/j2me/dev mgmt
    and added the search directory where wtk252 resides.)
    However, after importing a ready-developed project into the same workspace
    one of the pieces of code continuously gives a class not found error for
    javax.microedition.io.ContentConnection
    It's clear that one project understands how to resolve paths in
    javax.microedition
    and the other one doesn't, but I'm not sure how to configure the build path
    using
    QuickFix
    ie I don't know physically what the name of the jar file with
    javax.microedition.io.ContentConnection in it is called.

    Er, thanks, (I think!)
    Wouldn't it be easier for folks if you told them to look for packages using the CLDC Generic Connection Framework which is already inside javax.microedition.io?
    By the time they've got GCF (which is used quite a lot,) they've got javax.microedition.io and they've therefore solved the problem!
    I'd imagine that you could spend ages looking for "JSR 37 / 139" and get nowhere.

  • JRE can�t find the .class file

    Hello
    I have installed JRE 1.3 on a win98 running Computer. When i execute "jre anforderung.class -classpath C:\test\" in MS-Dos then the following Problem occurs : Cannot find File anforderung.class. I already Typed it in DOS anford~5.cla but the same thing happened. I renamed it into test.class, but always the same Error. What can i do?
    By the way, i came to this idea after i spend many hours to make my applet run in Netscape. The applet uses mySQL-Database Connection, and i�m at end with my ideas and strength. Maybe someone can tell me where i can find professional Help with my always Suffering in making my java-applets run. My last idea is to transform my files into an application, but... takes time. So Please HELP.

    That doesn�t work, but i found out I have to do this by appletviewer.exe and start the index.html.

  • Can you tell me where I can find the exercise files for Dreamweaver

    can you tell me where I find the exercise files for Dreamweaver

    Creating your first web site in DW CC -  5-part tutorial.  Click on the blue GET FILES button to download the ZIP folder.
    https://helpx.adobe.com/dreamweaver/learn/tutorials/how-to/first-website-part1.html
    Nancy O.

  • Can't find the Classes folder in j2sdkee1.3.1

    hi
    I am working on a project on JSP and EJB. For my JSP file i have a class file which i need to save in the classes folder under lib folder in j2sdkee. But i didn't find any such folder, i even tried to re-install the software but its of no use. Can any one tell me Where to Save the CLASS file in j2sdjee1.3.1.

    TooMuchConfusionException
    If you have a class to be called from the JSP, place it in WEB-INF/classes directory under your web app directory... not in the lib directory.
    I wonder how you manage to work on EJB...
    ***Annie***

  • Where to retrieve the downloaded files?

    Hi All,
    I m E61i user. I have no ideas where to find the downloaded files? I m appreciate that someone from the forum help me on this matter.

    Hi deenesh,
    I assumed you are using iPlanet Application Server.You can put jsp file in
    ..war file and deployed it.
    just go thru fortune sample it will give you the better Idea.
    please get back to me if it you have any question.
    thanks
    Deepak
    deenesh wrote:
    hi everyone,
    when installing iplanet, i am not able to figure out where to put the jsp
    files such that the iplanet can recognise it. I know this may seem a sillty
    question, but i need the answer urgent.
    thanks in advance

Maybe you are looking for

  • Position of parameters of a report using a Logical Database

    Hallo all, Is there any way that I can make the parameters defined by me in a report to appear <b>before</b> the ones defined by the Logical Database it is using ? I searched but I couldn't find something relevant. I would like to avoid having to cop

  • Duplicate Contact Records

    A Mac user and 3rd gen iPod owner (have been loving it forever). Until recently, synching contacts/calendars has been going just fine. Today I checked my contact records on my iPod and found that all of my contact records have been duplicated onto th

  • Webservice soap wsdl generation

    Hi Experts, Please Help Me, Systems. ThirdParty (PHP Portal) --> SAP PI--> SAP ECC 1: What is best practise to add ThirdParty as business service or business system. Scenario1: TirdParty Request for emp address based on the emp id here emp address in

  • How to make round coins in a picture

    hello like this picture in cs4 it's easy but in cc, i dont find

  • Packaging and accessing resources in a JAR

    I'm working on an application and I would like to package my resources (icons, about dialog images, splash screen images, release version text, etc.) in the jar file I'm going to distribute for deployment.  I would like to access these resources from