Importing entire packages

Hello,
Can anybody tell me how importing too many files affects program execution speed, compilation time, .class file size?
Thanks.

However it can affect maintenance costs. Individual import statements can make the job of the person supporting your app much easier as they can tell at a glance what dependencies there are between your code and other packages. Obviously this only helps if everybody adheres to the practice and there are no explicit imports within the body of the code.

Similar Messages

  • Importing classes/packages

    Does importing an entire package cause the classloader to load ALL the classes in that package into memory or are they loaded only on demand?
    Suppose package called MyPackage.
    import MyPackage.* - Does this cause all the classes to be loaded into memory ?

    Here's some more info on the 'import' statement:
    http://developer.java.sun.com/developer/TechTips/2000/tt0110.html#tip2

  • How does APEX import a packaged APEX application

    I was wondering, if someone might help me to better understand how APEX imports a packaged application.
    The typical packaged application file looks like a simple SQL*Plus Script that needs to be processed by SQL*Plus from PL/SQL on the server.
    I would be most interested to understand how APEX handling this process because it might really help me (and probably many others) to improving our own installation process.
    Thank you in advance for any information!

    The documentation contains an entire chapter on Deploying an Application. This appears to be a good place to start.
    The tutorial How to Review a Packaged Application would also be worthwhile.
    (Please update your forum profile with a better handle than "user8607986".)

  • Import anonymous package ?

    Hi
    Im new here!
    How to import an anonymous package(without package packageName;)?
    i know where the classes are and the classpath is set to this dir. The packages which i want to import this classes are in sub-dirs of this dir.
    thank you
    jz
    (If you don't understand me please don't wonder 'cause i'm 13 and speaking german :) )

    How to import an anonymous package(without package
    packageName;)?
    i know where the classes are and the classpath is set
    to this dir. The packages which i want to import this
    classes are in sub-dirs of this dir.
    (If you don't understand me please don't wonder
    'cause i'm 13 and speaking german :) )Don't worry, you're doing more than fine. The technical stuff: you can't
    import classes from the default package and you shouldn't want to do
    that. Put all of your classes in the appropriate packages and import
    those packages (or single classes from those packages).
    If you insist of having a class in the default package, make it the single
    class with the 'main' method' that starts up the entire thing.
    kind regards,
    Jos

  • Import of packages

    If I have a class which ONLY uses the socket class of java.net then if I put
    import java.net.*; the compiler will only include the socket class in compilation, not the entire package java.net ? So why would anyone want to write
    import java.net.socket; instead? Is there any efficiency in doing so?
    thanks

    Yes the efficiency of the code will be much better
    whenever u import any particular class instead u
    import all class in that package, bcos only when the
    code gets executed it identifies that u only use the
    socket class but it will have all other classes in
    that package in buffer.This is completely wrong.
    Importing has zero runtime effect. It does not affect the bytecode, the class size, or the performance in any way. (It can theoretically affect compile-time performance, but it's unlikely it would ever be noticeable.)

  • SAP Ides ECC 6.0 Install: Import ABAP - Package SAPDODS Error - ORA-00903

    Experts,
    Good Morning!
    I'm trying to install SAP IDES ECC 6.0 version on a Windows 2008 R2 Server with Oracle 11g DB (11.2).
    System Info: 16GM RAM & 600GB Hdd. Prereqs passed.
    I'm getting the following error during the Import ABAP phase (16 of 29) in the sapinst log:
    "An error occurred while processing option Enhancement Package 6 for SAP ERP 6.0 > SAP Application Server ABAP > Oracle > Central System > Central System( Last error reported by the step: Program 'Migration Monitor' exits with error code 103. "
    Here's the dump of import_monitor.java.log
    java version "1.4.2_32"
    Java(TM) 2 Runtime Environment, Standard Edition (build 4.1.012)
    SAP Java Server VM (build 4.1.012 1.6-b03, Oct 21 2011 14:18:45 - 41_REL - optU - windows amd64 - 6 - bas2:161688 (mixed mode))
    Import Monitor jobs: running 1, waiting 1, completed 141, failed 0, total 143.
    Loading of 'SAPDODS' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 141, failed 1, total 143.
    Here's the dump of import_monitor.log:
    INFO: 2014-07-05 13:42:53
    Data codepage 4103 is determined using TOC file 'C:\Target\Export1\DATA\D010TAB.TOC' for package 'D010TAB'.
    TRACE: 2014-07-05 13:42:53 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPDODS' import package is started.
    TRACE: 2014-07-05 13:42:53 com.sap.inst.migmon.LoadTask processPackage
    Loading of 'SAPDODS' import package into database:
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDODS.cmd -dbcodepage 4103 -l SAPDODS.log -stop_on_error
    ERROR: 2014-07-05 13:42:54 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPDODS' import package is interrupted with R3load error.
    Process 'C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDODS.cmd -dbcodepage 4103 -l SAPDODS.log -stop_on_error' exited with return code 2.
    For mode details see 'SAPDODS.log' file.
    Standard error output:
    sapparam: sapargv(argc, argv) has not been called!
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    WARNING: 2014-07-05 13:43:21
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2014-07-05 13:43:21
    1 error(s) during processing of packages.
    INFO: 2014-07-05 13:43:21
    Import Monitor is stopped.
    Here's the log of SAPDODS...
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20140705134253
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/720_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: version R7.20/V1.4 [UNICODE]
    Compiled Aug 16 2011 02:26:36
    patchinfo (patches.h): (0.098) DB6: correction for R3load PL 91 on HP-UX and SOLARIS (note 1609719)
    process id 1488
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDODS.cmd -dbcodepage 4103 -l SAPDODS.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF16
    (SQL) INFO: Searching for SQL file SQLFiles.LST
    (SQL) INFO: SQLFiles.LST not found
    (SQL) INFO: Searching for SQL file C:\Target\Export1\DB/SQLFiles.LST
    (SQL) INFO: C:\Target\Export1\DB/SQLFiles.LST not found
    (SQL) INFO: Searching for SQL file DODS.SQL
    (SQL) INFO: DODS.SQL not found
    (SQL) INFO: Searching for SQL file C:\Target\Export1\DB/ORA/DODS.SQL
    (SQL) INFO: found C:\Target\Export1\DB/ORA/DODS.SQL
    (SQL) INFO: Trying to open C:\Target\Export1\DB/ORA/DODS.SQL
    (SQL) INFO: C:\Target\Export1\DB/ORA/DODS.SQL opened
    (DB) ERROR: DDL statement failed
    (DROP TABLE "/BI0/APERS_BOD00")
    DbSlExecute: rc = 103
      (SQL error 942)
      error message returned by DbSl:
    ORA-00942: table or view does not exist
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    DbSl Trace: Error 903 in exec_immediate() from oci_execute_stmt(), orpc=0
    DbSl Trace: ORA-00903 occurred at SQL stmt (parse error offset=15)
    (DB) ERROR: DDL statement failed
    (  CREATE TABLE [/BI0/APERS_BOD00]         (  [TCTUSERNM] nvarchar(000012)          NOT NULL  ,           [TCTOBJVERS] nvarchar(000001)          NOT NULL  ,           [TCTSYSID] nvarchar(000010)          NOT NULL  ,           [TCTQUACT] nvarchar(000001)          NOT NULL  ,           [TCTOBJNM] nvarchar(000040)          NOT NULL  ,           [TCTTLOGO] nvarchar(000004)          NOT NULL  ,           [RECORDMODE] nvarchar(000001)          NOT NULL  ,           [TCTTIMSTMP] nvarchar(000014)          NOT NULL   )          WITH ( DATA_COMPRESSION = PAGE )   )
    DbSlExecute: rc = 99
      (SQL error 903)
      error message returned by DbSl:
    ORA-00903: invalid table name
    (DB) INFO: disconnected from DB
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20140705134254
    FYI - A retry does not help. Also tried to search for the error on scn, google but haven't been able to find the right solution.
    Can you help?
    Regards,
    Cobain.

    Divyanshu - sorry to ask but can you explain why i need to update r3load and r3trans to resolve this error? Just want to understand why I'm doing a correction so I can learn from the same.
    Also, can you clarify the file update process:
    For R3load:
    a) the r3load used by the command is dated 8/16/2011 (location:C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\...)
    b) the r3load i have in my db folder is dated 10/23/2011 (location:C:\Final\Installer\BS7i2011_Installation_Master_\DATA_UNITS\BS2011_IM_WINDOWS_X86_64\ORA\UC\...)
    Do i replace (a) with (b)?
    For R3trans:
    How do I update this file?
    - Cobain.

  • Import support package SAPKB70015 at PI System is stuck on IMPORT_PROPER

    Dear Expert,
    I have some problem when import support package SAPKB70015 at PI System.
    IT had shown as below.
    Main import
    Transport request : SAPKB70015
    System : CXI
    tp path : tp
    Version and release: 372.04.08 700
    sap_dext called with msgnr 4:
    db call info
    function: db_report_interface
    fcode: UPDATE_REPORT
    tabname: TEXT
    len (char): 40
    key: /OSP/CL_CJS_CONTEXT===========CP
    retcode: 4
    Main import
    End date and time : 20081120021353
    Ended with return code: ===> 12 <===
    And I checked the transport log,It shown as below.
    4 ETW690 COMMIT "360444" "53156878"
    3 ETW674Xstart import of "LIMUCLSD/OSP/CL_CJS_CONTEXT" ...
    4 ETW000 1 entry for TADIR updated (R3TRCLAS/OSP/CL_CJS_CONTEXT ).
    4 ETW000 REPOS /OSP/CL_CJS_CONTEXT===========CP A replaced.
    4 ETW000 dev trc ,00000 Thu Nov 20 02:13:53 2008 39924798 39.924798
    4 ETW000 http://dbsloci. ,00000 *** ERROR => Cannot update a LOB column for more than one row piecewise
    4 ETW000 85 39.924883
    4 ETW000 dev trc ,00000 sc_p=0x110f57d68,no=55,idc_p=0x110f70638,con=0,act=1,slen=125,smax=256,#vars=5,stmt=0x111e1f700,tabl
    e=REPOTEXT
    4 ETW000 66 39.924949
    4 ETW000 dev trc ,00000 prep=0,lit=0,nsql=0,lobret=1,#exec=1,dbcnt=2,upsh_p=(nil),ocistmth_p=0x111e20098
    4 ETW000 53 39.925002
    4 ETW000 dev trc ,00000 IN : cols=4,rmax=1,xcnt=1,rpc=0,rowi=0,rtot=1,upto=4294967295,rsize=84,vmax=32,bound=1,iobuf_p=0x111
    0a4220,vda_p=0x111e21a60
    4 ETW000 58 39.925060
    4 ETW000 dev trc ,00000 lobs=1,lmax=4,lpcnt=0,larr=0x111e22180,lcurr_p=(nil),rret=0
    4 ETW000 48 39.925108
    4 ETW000 dev trc ,00000 OUT: cols=1,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=0,rsize=0,vmax=32,bound=0,iobuf_p=(nil),vda_p=0x1
    11e222c0
    4 ETW000 55 39.925163
    4 ETW000 dev trc ,00000 lobs=1,lmax=4,lpcnt=0,larr=0x111e22220,lcurr_p=(nil),rret=2
    4 ETW000 47 39.925210
    4 ETW000 dev trc ,00000 UPDATE "REPOTEXT" SET "DATA" = :A0 WHERE "PROGNAME" = :A1 AND "R3STATE" = :A2 AND "LANGUAGE" = :A3
    4 ETW000 51 39.925261
    4 ETW000 dev trc ,00000 RETURNING "DATA" INTO :A4; 29 39.925290
    4 ETW000 dbrepolo ,00735 ***LOG BZY=>unexpected return code 2 calling dbrepolo#? @ 735
    4 ETW000 75 39.925365
    2EETW000 sap_dext called with msgnr "4":
    2EETW000 -
    db call info -
    2EETW000 function: db_report_interface
    2EETW000 fcode: UPDATE_REPORT
    2EETW000 tabname: TEXT
    2EETW000 len (char): 40
    2EETW000 key: /OSP/CL_CJS_CONTEXT===========CP
    2EETW000 retcode: 4
    1 ETP154 MAIN IMPORT
    1 ETP110 end date and time : "20081120021353"
    1 ETP111 exit code : "12"
    1 ETP199 ######################################
    System information
    SAP = NW2004s SR3
    Database = Oracle 10.2.0.2
    OS versions = AIX 5.3
    Tp version = 700 Unicode 179
    R3trans version = 700 Unicode 183
    PS.I checked tp connect return code 0 and R3trans u2013s return code 0
    Could you please suggest how to fix this problem?
    Thank you very much
    Jaturong

    Iu2019ve updated database statistics and then try to reimport the package again. But It canu2019t import package.
    Are you still getting the same error after you retry the statistics update?

  • While Import support package getting error in R/3

    Hi All,
    I am getting one error following error while importing support package in R/3.
    Open data extraction requests
    The system has found a number of open data extraction requests.These should be processed before starting the object import process, as changes to DDIC structures could prevent data extraction requests from being read after the import, thus causing them to terminate. Call the Customizing Cockpit data extraction transaction and process all open extraction requests.
    Can Anybody aware of this error. How do I delete the open data extraction process specified here.
    Thx & Regds,
    SGK

    Hi,
    I think I have to stop extraction process in LBWE or R/3. Can anybody tell me how to stop extraction process.
    Thx & Regds,
    SGK

  • Error getting while importing support package in R/3

    Hi All,
    I am getting one error following error while importing support package in R/3.
    Open data extraction requests
    The system has found a number of open data extraction requests.These should be processed before starting the object import process, as changes to DDIC structures could prevent data extraction requests from being read after the import, thus causing them to terminate. Call the Customizing Cockpit data extraction transaction and process all open extraction requests.
    Can Anybody aware of this error.
    Thx & Regds,
    SGK

    Hi,
    I think I have to stop extraction process in LBWE or R/3. Can anybody tell me how to stop extraction process.
    Thx & Regds,
    SGK

  • Import support package SAPKB70015. Is stuck in IMPORT_PROPER phase

    Dear Expert,
    I have some problem when import support package SAPKB70015 at PI System.
    IT had shown as below.
    Main import
    Transport request   : SAPKB70015
    System              : CXI
    tp path             : tp
    Version and release: 372.04.08 700
    sap_dext called with msgnr 4:
          db call info
    function:   db_report_interface
    fcode:      UPDATE_REPORT
    tabname:    TEXT
    len (char): 40
    key:        /OSP/CL_CJS_CONTEXT===========CP
    retcode:    4
    Main import
    End date and time : 20081120021353
    Ended with return code:  ===> 12 <===
    And I checked the transport log,It shown as below.
    4 ETW690 COMMIT "360444" "53156878"
    3 ETW674Xstart import of "LIMUCLSD/OSP/CL_CJS_CONTEXT" ...
    4 ETW000   1 entry for TADIR updated  (R3TRCLAS/OSP/CL_CJS_CONTEXT                     ).
    4 ETW000 REPOS /OSP/CL_CJS_CONTEXT===========CP         A replaced.
    4 ETW000  [dev trc     ,00000]  Thu Nov 20 02:13:53 2008                         39924798  39.924798
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => Cannot update a LOB column for more than one row piecewise
    4 ETW000                                                                              85  39.924883
    4 ETW000  [dev trc     ,00000]  sc_p=0x110f57d68,no=55,idc_p=0x110f70638,con=0,act=1,slen=125,smax=256,#vars=5,stmt=0x111e1f700,tabl
    e=REPOTEXT
    4 ETW000                                                                              66  39.924949
    4 ETW000  [dev trc     ,00000]  prep=0,lit=0,nsql=0,lobret=1,#exec=1,dbcnt=2,upsh_p=(nil),ocistmth_p=0x111e20098
    4 ETW000                                                                              53  39.925002
    4 ETW000  [dev trc     ,00000]  IN : cols=4,rmax=1,xcnt=1,rpc=0,rowi=0,rtot=1,upto=4294967295,rsize=84,vmax=32,bound=1,iobuf_p=0x111
    0a4220,vda_p=0x111e21a60
    4 ETW000                                                                              58  39.925060
    4 ETW000  [dev trc     ,00000]       lobs=1,lmax=4,lpcnt=0,larr=0x111e22180,lcurr_p=(nil),rret=0
    4 ETW000                                                                              48  39.925108
    4 ETW000  [dev trc     ,00000]  OUT: cols=1,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=0,rsize=0,vmax=32,bound=0,iobuf_p=(nil),vda_p=0x1
    11e222c0
    4 ETW000                                                                              55  39.925163
    4 ETW000  [dev trc     ,00000]       lobs=1,lmax=4,lpcnt=0,larr=0x111e22220,lcurr_p=(nil),rret=2
    4 ETW000                                                                              47  39.925210
    4 ETW000  [dev trc     ,00000]  UPDATE "REPOTEXT" SET "DATA" = :A0 WHERE "PROGNAME" = :A1 AND "R3STATE" = :A2 AND "LANGUAGE" = :A3
    4 ETW000                                                                              51  39.925261
    4 ETW000  [dev trc     ,00000]  RETURNING "DATA" INTO :A4;                            29  39.925290
    4 ETW000  [dbrepolo    ,00735]  ***LOG BZY=>unexpected return code 2          calling            [dbrepolo#? @ 735]
    4 ETW000                                                                              75  39.925365
    2EETW000 sap_dext called with msgnr "4":
    2EETW000 -
    db call info -
    2EETW000 function:   db_report_interface
    2EETW000 fcode:      UPDATE_REPORT
    2EETW000 tabname:    TEXT
    2EETW000 len (char): 40
    2EETW000 key:        /OSP/CL_CJS_CONTEXT===========CP
    2EETW000 retcode:    4
    1 ETP154 MAIN IMPORT
    1 ETP110 end date and time   : "20081120021353"
    1 ETP111 exit code           : "12"
    1 ETP199 ######################################
    System information
    SAP = NW2004s SR3
    Database          = Oracle 10.2.0.2
    OS versions      = AIX 5.3
    Tp version = 700 Unicode 179
    R3trans version = 700 Unicode 183
    PS.I checked tp connect return code 0 and R3trans u2013s return code 0
    Could you please suggest how to fix this problem?
    Thank you very much
    Jaturong

    Hello Karthik
    I know the list is long. Unfortunately I have never had such a long list of inactive objects in the system during an update or upgrade. But I believe you can make use of the mass activation program RADMASG0 to have them activated. The other option I can think of is to use the function module RS_INACTIVE_OBJECTS_LIST to list all the inactive objects and see whether they can be mass activated from there. I believe it is possible to activate all from there after selecting a block. (Never tried so I cannot guarantee).
    Regards
    RB

  • OWB Can't Import Existing Package with Collection Data Type as Arguments

    I created a package and compiled it successfully as the follows:
    +++++++++++++++++++++++++++++
    CREATE OR REPLACE PACKAGE PACKAGE_TEST AS
    TYPE Num_LIST IS TABLE of NUMBER INDEX BY BINARY_INTEGER;
    FUNCTION TEST_FUNCTION1 ( arg1 NUMBER, arg2 NUMBER) RETURN NUMBER;
    FUNCTION TEST_FUNCTION2 ( args NUM_LIST) RETURN NUMBER;
    END PACKAGE_TEST;
    CREATE OR REPLACE PACKAGE BODY PACKAGE_TEST AS
    FUNCTION TEST_FUNCTION1 ( arg1 NUMBER, arg2 NUMBER) RETURN NUMBER IS
    ln_sum NUMBER;
    BEGIN
    ln_sum := arg1 + arg2;
         RETURN ln_sum;     
    EXCEPTION
    WHEN OTHERS THEN
    RETURN -10000;     
    END TEST_FUNCTION1;
    FUNCTION TEST_FUNCTION2 ( args NUM_LIST) RETURN NUMBER IS      
         ln_sum NUMBER;
    BEGIN
    ln_sum :=0;
         FOR i IN 1.. args.COUNT LOOP
         ln_sum := ln_sum + args( i );     
         END LOOP;     
         RETURN ln_sum;     
    EXCEPTION
    WHEN OTHERS THEN
    RETURN -10000;     
    END TEST_FUNCTION2;     
    END PACKAGE_TEST;
    ++++++++++++++++++++++++++++++++++++++++
    Then I tried to import the package into OWB (9.2). The problem came: all the package body and
    the specification of TEST_FUNCTION1 were imported, but the package specification of
    TEST_FUNCTION2 couldn't be imported. The IMPORT FILTER gave an error message:
    "TEST_FUNCTION2: Argument Data type is not supported".
    How to resolve this problem? It is very import for our project, since we have to import some
    packages with user_defined collection data types as arguments.
    Thank you.
    Lushu

    Hi Lushu,
    Unfortunately this is indeed not supported and I would not know how to work around this one. The only way I guess that this would work is to not import it, and then use Expressions to call the function with inputs.
    Jean-Pierre

  • Importing Inter-package classes

    hello
    I have never had this problem before but I just 'downgraded' to JDK 1.1.8 because the code will be used on my PDA. I am trying to import Inter-package classes but the compiler it cannot find the classes I've imported. This code was working perfectly in j2sdk1.4.2_02
    I think the code is right all files saved in folder graphs and beginning looks like this:
    package graphs;
    import graphs.AxisParameter;

    Yes they are in the same folder with 'package graphs;' in the 1st line,
    i've tried with and without package.class to no avail
    the exact errors i'm getting are
    without the package in front
    error: File .\CustomLabel.class does not contain type CustomLabel as expected, but type graphs.CustomLabel. Please remove the file or make sure it appears in the correct subdirectory of the class path
    with the graphs.CustomLabel i get the following errors
    error: Invalid class File formate: .\graphs\CustomLabel.class, wrong version: 46, expected 45
    2nd error: Class graphs.CustomLabel not found in import.

  • How to import a package in jsp

    i've searching here and i've not found answer to this, so i write it here.
    i've created a class to send mail, it imports the javax.mail.* and javax.activation.*, in a package named jspbeans.
    now, when i try to use this package in my jsp page (using tomcat), gives me the error:
    Package jspbeans not found in import
    import jspbeans.*;
    the code for my jsp page is:
    <%@ page language="java" %>
    <html>
    <head>
    <title>Sending mail from JSP</title>
    </head>
    <body>
    <%@ page import="jspbeans.*"%>
    <jsp:usebean id="sendmail" class="jspbeans.SendMail" scope="page"/>
    <jsp:setProperty name="sendmail" property="host" value="mail.wavelinksystems.com"/>
    <jsp:setProperty name="sendmail" property="to" value="[email protected]"/>
    <jsp:setProperty name="sendmail" property="from" value="[email protected]"/>
    <jsp:setProperty name="sendmail" property="msg" value="testing 1 2 3..."/>
    <jsp:setProperty name="sendmail" property="subject" value="test"/>
    <%//sendmail.send();%>
    <p>
    Mail has been sent to <jsp:getProperty name="sendmail" property="to"/>
    </body>
    </html>and the path of this jsp page is:
    C:\WINDOWS\Desktop\tomcat\jakarta-tomcat-3.3.1\webapps\ROOT\pruebas\jspMailTest.jsp
    the path for the package is:
    C:\WINDOWS\Desktop\tomcat\jakarta-tomcat-3.3.1\webapps\ROOT\pruebas\jspbeans
    what am i doing wrong?
    what am i missing?
    how do i have to import the package?
    thanks

    it generates a
    java.lang.NoClassDefFoundError: javax/mail/MessagingException
    i changed the package to that directory and the import generates no errors, if i do nothing but the import, and soem printing, the page is generated, but when i try to assign the variables, generates that error, why is it?

  • Problem with importing jsp packages

    Hi guys. I'm having a problem compiling a class that imports jsp packages.
    I'm getting errors along the lines of:
    C:\>javac HelloTag.java
    HelloTag.java:4: package javax.servlet.jsp does not exist
    import javax.servlet.jsp.*;
    ^
    HelloTag.java:5: package javax.servlet.jsp.tagext does not exist
    import javax.servlet.jsp.tagext.*;
    - I've copied jsp-api.jar and servlet-api.jar to a folder that's in my path: C:\Program Files\Java\jre1.5.0_03\lib\ext
    Any suggestion?
    Thanks.

    U have to add the path into the classpath
    set CLASSPATH=%CLASSPATH%;jsp-api.jar ....
    the compile in the same cmd window
    Do not use the CLASSPATH environment variable. Use the -classpath option while compiling and specify the path to your jar file.
    javac -classpath <path to jar file> filename.javacheers,
    ram.

  • RSM2052 error after import Support Package SAPKW70022 in MSSQL Data Load

    Hi;
    I imported Support Package SAPKW70022 but after import data load from  MSSQL gives error RSM2052.
    How can I solve my problem.
    Best Regards.

    Hi,
    I think I have to stop extraction process in LBWE or R/3. Can anybody tell me how to stop extraction process.
    Thx & Regds,
    SGK

Maybe you are looking for

  • How can i use visual logic on my mac

    I am a student at the University of Phoneix and Im taking a programming class that uses Visual Logic. The professor knows about my problem but really doesnt know what to do with a Mac but he says I will need a windows environment to install and run t

  • Droid Razr M not working with Verizon tones app or media store.

    I have a Droid Razr M and all software and such are updated where they need to be.  Recently I tried to use the Verizon Tones app to download a ringtone and got an error message that it was having trouble connecting, I was connected to my wifi.  Then

  • Time Out Error while waiting for response from DB Procedure

    Hi Gurus, We are encountering a problem in our production environment. The system is implemented using AIA foundation pack 2.5 on SOA suite 10.1.3.4. We have a BPEL process A which calls an ESB Service which inturn calls BPEL Process B. In process B,

  • Remove test run from Load Test Manager in Visual Studio Online Load Testing

    I have been using the Visual Studio Online Azure load testing for a while now, and I have a number of test runs that I would like to remove.  I am not referring to my local Load Test Results Store (on-premise SQL DB), as I can remove test runs no pro

  • Open media links in another program

    I am wondering if there is a way to mimic IE's behavior with links to media files. In IE, if I click on a link to a raw video file (e.g. .wmv file), it will open the link in Windows Media Player and stream the file as it downloads. If I click on the