Jsp import directive

i just installed tomcat 4.1.18 and pretty much copied over all my applications and did the configurations in the server and web files...the only problem i noticed was that importing classes not part of the java libraries throws a jsp init() exception.
is the syntax still the same:
<@page import ="java.util.*,MyJavaBean" %>
in this case it complained about the MyJavaBean as an unrecognizable object, however it is in the WEB-INF/classes folder for this app. This syntax works for tomcat 4.0.1

Hi,
As I know in Tomcat 4.1.x you have put your classes into packages. Putting the classes into WEB-INF/classes directory is not enough. You should try the following:
1. create a directory test under WEB-INF/classes directory and put your MyJavaBean class into this directory.
2. add the following line to the top of your MyJavaBean.java
package test;
3. Compile as : javac test/MyJavaBean.java
Try this...
nurettin

Similar Messages

  • JSP import directive does not work

    We are using WebLogic 5.1. We have a problem with our
              JSPs. The jsp compiler could not find the Connection class
              until we said java.sql.Connection.
              We had a valid import statement! We had
              <%@ page import="java.sql.*" %> and this page worked
              perfectly under Resin.
              Does Weblogic not implement the JSP spec correctly?
              Please help-- urgent!
              Thanks,
              Brian Williams
              

    Try to put flush="true" behind the page attribute, maybe it'll work now.
              for example: <jsp:include page="<%= inludeName%>" flush="true">
              Greetz
              Tom
              "rl" <[email protected]> schreef in bericht
              news:[email protected]..
              > Hello,
              > I'm new to weblogic.
              >
              > I got an jsp page wich shuold open another .
              >
              > I use the following command:
              >
              > <jsp:include page="<%= inludeName %>"/>
              >
              > This don't work.
              >
              > What can I do , that this will work?
              >
              > MfG,R.Lenz
              >
              >
              

  • I need a digital camcorder that imports direct to iMovie - any ideas

    I have been using a MiniDV JVC camcorder to import direct into iMovie - worked great but the camcorder heads are now worn out. So I use an Hitachi HD flash card camcorder that outputs AVI files. I then have to convert through Handbrake to get a useable file for iMovie.
    This is much too slow as I produce lots of short video for customers - is there a better direct camera to get files straight into iMovie or should I use different software on the mac?
    Last resort, I have been told to buy a pc to use for producing edited DVD movies - I don't really want to move off the mac - HELP?

    Wow...good question.
    Do your FCP setups have capture cards? You could send a signal from the toaster machine to FCP via the capture card and recapture the footage in FCP. Will take a while, but it should work.
    Tough working with proprietary formats.
    Shane

  • Import directive

    Hi,
    what does it really do the import directive/statement?
    Please don't tell me it includes all the bytecodes from the packages used in the bytecodes generated from the java class which use them.
    Please help.
    Marla

    The purpose of the import is to provide a shorthand to refer to classes in another package, without typing the entire fully qualified class name for each class in the external package each time it is used. It makes a package or an individual class available. And it manages namespaces.
    com.mycompany.model.Foo myFoo = new com.mycompany.model.Foo();
    vs
    import com.mycompany.model.Foo;
    <... class definition here ...>
    Foo myFoo = new Foo();
    When the compiler encounters the import statement, it searches the directories specified by the CLASSPATH looking for subdirectories that match the package structure in the import statement, and seeks compiled files of the appropriate name in the final directory.

  • Crashes while importing TIFFs.  Also, how to import directly into an album?

    Just got Aperture last night in the mail. Upgraded to 1.1.1.
    I have about 250 CDs with TIFF images that I've created over the years. The TIFF files were created by a Nikon film scanner. Some of those images were later re-touched and re-saved using Photoshop.
    In any event, I started importing all those CDs into Aperture to consolidate all my photographs in one place. On the first CD, Aperture crashed unexpectedly for no reason. The Aperture database would also get corrupted and I would have to delete it, and start from scratch.
    Here's what I discovered. If I wait for Aperture to generate a thumbnail of all the images in the CD before I click on the "Import All" button, there are four images in the CD for which Aperture does not generate a thumbnail. Furthermore, if I tried to import the same CD into iPhoto, all files but those four would get imported. At least iPhoto doesn't crash, and after the import is finished it would tell me that four photographs could not be imported because the format was not recognized. The interesting thing is that Photoshop can open every single file on the CD (again, all of them are TIFF images)
    So my (painful) workaround is to import all my CDs into iPhoto first, and then import into Aperture from iPhoto, which works very well. That way the Aperture repository doesn't get corrupted.
    So, question 1: does anybody know if there's a special setting in Aperture that would stop it from crashing and gracefuly skip over any photographs that it can't recognize?
    Question 2: I want to import every single CD into its own album so I later know what CD I can find the image on. Aperture seems to import always onto the project, not the album. Is there a way around this?
    When I import into iPhoto, I create an empty album and then drag the files from the CD onto that album. If I then import the iPhoto album into Aperture, Aperture automatically creates an album, which is nice. I'd love to do the same but with iPhoto out of the picture (excuse the pun). That would speed up the import process tremendously.
    Thanks for your help,
    Julian

    Are there two questions here?
    1. You can indeed create an album under a Project in advance and Import direct to that. One Album per CD? Works fine. Just point the Import Arrow at the Album. NOTE: the Masters are actually held in the Project (this is true across Aperture) and Pointers are held in the Album .... but the effect is of Albums with photos > Project containing all the photos.
    2. These TIF files are not corrupt, if Photoshop or iPhoto opens them. This has got to be an Aperture bug and I have the same issues with TIF's. Created a thread about it, so I hope the Aperture development team did read it (please, please, please). You could convert in Photoshop to .PSD vs. resaving (unless this is what you did) as I haven't noted this problem with .PSD files

  • HT202020 Using a SDHC card adapter I can import directly on my iPad2 videos (.mov) taken with a Panasonic DMC-ZS3. The same video files (same file format) imported in Aperture 3.3 cannot be synchronized with iPad. Is Aperture causing the problem?

    Using a SDHC card adapter I can import directly on my iPad2 videos (.mov) taken with a Panasonic DMC-ZS3. The same video files (same file format) imported in Aperture 3.3 cannot be synchronized with iPad. Is Aperture causing the problem?

    Oh, baby! This bad boy flies!! Here's what to expect:
    I had 40,000 images in Aperture 3 and it was dog slow at everything. I installed 3.1 update today. It took 5 minutes to update the database and then behaved marginally better than before at ASIC library navigation. I was disappointed.
    Then I QUIT the app. It took a couple of hours to "update files for sharing" with a counter that went to 110,000 images. So it must have updated every thumbnail and variation of preview. Turned it back on , and BAM. Came up fully in seconds. Paused for 10 seconds ten everything was lickrty split. For the first time ever, I can use the Projects view with all 791 projects and scroll quickly. I even put it in photos modevand whipped thru all 49,000 images!
    Haven't done anybprocessing yet, but i'm liking it!!
    Jim

  • LR displays "no preview available" upon import direct from camera after last update. How do I fix this?

    I have the latest LR update with Nikon D700 and import directly from camera. I purchased a new CF card in case the old one was the problem but I get the same thing with the new card. Is there a bug in the last update or is this a problem with my equipment?

    Hey everyone in Apple world!
    I figured out how to fix the flashing yellow screen problem that I've been having on my MBP!  Yessssss!!!
    I found this super handy website with the golden answer: http://support.apple.com/kb/HT1379
    I followed the instructions on this page and here's what I did:
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    I went through the 6 steps above twice, just to make sure I got rid of whatever stuff was holding up my bootup process.  Since I did that, my MBP boots up just like normal.  No flashing yellow screen anymore!!   
    (Note that I arrived at this solution when I first saw this page: http://support.apple.com/kb/TS2570?viewlocale=en_US)
    Let me know if this works for you!
    Elaine

  • Raw files missing in import direct from canon eos 350D

    Hi,
    I realise that files missing for import is fairly common, but I still haven't been able to find a reason. I can load jpg and cr2 from a folder no problem, but when I attach the camera, using the latest canon WIA driver on windows xp, the window that comes up shows only the jpgs on my camera. I realise that a workaround is to get the files on the pc and import from there, but I don't have my canon software anymore to do that, and besides, I'm using the trial version to decide whether or not to buy. Is this a LR problem? a canon one? and is there a fix in the pipeline?
    Apart from that, really like the product.
    Many thanks
    Dave

    Dave
    There was a problem with version 1.0 about importing JPG's and RAW's because although they have a different suffix i.e. JPG or CR2 they have the same file name. LR, as primarily a RAW converter sees these as one and the same file and only imported the RAW file. The work round for this was to rename the JPG's slightly outside of LR using a name that you could yourself identify with the original RAW e.g. RAW 0000001.crs with the JPG being renamed to 0000001A.JPG followed by Importing. I had thought they had cured this with the update but as I don't shoot JPG + RAW haven't tried this for myself. What's strange about your post though, is that if memory serves me correctly the problem lay not in the Importing of the RAW file but in the JPG file as described above. Perhaps someone with more up to date knowledge of this will jump in here.
    The importing directly from the camera I referred to earlier was a known problem with Canon cameras - perhaps something to do with the folder structure although I couldn't swear to it. Hence the reference to using a Card Reader. In any event downloading from a Card Reader is faster as I'm sure you know.
    If you right click and explore the Card you'll find that not all of the files are empty. The top folder will be something like DCM and by double clicking on this top folder it will open up the others.

  • Jsp import package error after upgrading to jdk1.4.2_08 and tomcat 5.0

    I am trying to upgrade the jdk and tomcat from 1.3/3.3 to 1.4/5.0.
    My jsp imports worked fine prior to the upgrade, but now I get the following:
    Jun 6, 2005 10:01:17 AM org.apache.jasper.compiler.Compiler generateClass
    SEVERE: Error compiling file: /C:/Tomcat/work/Catalina/localhost/Print//org/apac
    he/jsp\BillingPrompt_jsp.java [javac] Compiling 1 source file
    C:\Tomcat\work\Catalina\localhost\Print\org\apache\jsp\BillingPrompt_jsp.java:11
    : package com.adware.print.database.inquire does not exist
    import com.adware.print.database.inquire.*;
    ^
    1 error
    A fatal error has occured for user: Unable to compile class for JSP
    Generated servlet error:
    C:\Tomcat\work\Catalina\localhost\Print\org\apache\jsp\BillingPrompt_jsp.java:11
    : package com.adware.print.database.inquire does not exist
    import com.adware.print.database.inquire.*;
    The package in the import statement "import com.adware.print.database.inquire.*" actually has no classes in it. The classes are contained in "import com.adware.print.database.inquire.controller.*". If I change the import statement everything works. The problem is that I have 100s of jsps. If there is a work-around outside of changing the import statements, that would be best.
    Can anyone help? Thanks.

    do you know what url is being looked up? the message is complaining that the url is starting with the string "an]", which seems pretty bogus.

  • JSP import fails unless Jars are included in the PAR

    Hello,
    We have a simple EP6 iView for displaying the Universal Worklist entries (UWL) using a JSPDynPage.
    We import the UWL library symbols and compile/use them in the Java code without problems (e.g. import com.sap.netweaver.bc.uwl.Item; )
    The following entry is made in the portalapp.xml file to make sure the UWL symbols are found at runtime:
         <property name="ServicesReference" value="SAPJ2EE::library:tckmcbc.uwl~api"/>     
    The problem occurs when we try to import the UWL symbols into our JSP with this code:
         <%@ page import="com.sap.netweaver.bc.uwl.Item" %>
    The UWL symbols are just not found.  Here are the exception headers:
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
    Component : pcd:portal_content/MikesFolder/com.lds.mlp.MikesTest1
    #1#com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: D:/usr/sap/EP1/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/mikestest1/work/pagelet/_sapportalsjsp_helloiviewpage.java:22: package com.sap.netweaver.bc.uwl does not exist
    import com.sap.netweaver.bc.uwl.Item;
                                    ^
    1 error
    Now if I add the bc.uwl.service.api_api.jar into PORTAL-INFlib everything is fine.  However this seems like such a 'hack'.  We really shouldn't be distributing a system file in our PAR.
    This person seems to have had the same problem with the system mail jars ( JSP MAIL ERROR ).
    Can anyone please shed some light on this problem?  Do we really have to distribute the system jars to make this JSP import work properly?
    Thanks & Cheers,
    Mike Pastor
    "always generous with points"

    Hi,
    This is exactly the portalapp.xml of the sap application com.sap.netweaver.bc.uwl.par
    check out the difference between this and yours?
    Dont miss out on anything important here. I think it should work.
    If you are still facing problem only while using in jsp I have a cure.
    Write a clean java class in your app which queries the apis in this jar.
    Also add sharing reference to this application in your portalapp.xml. Query your class in your jsp rather than the "standard jar"
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <registry>
        <entry path="/runtime/hooks/deployment/UniversalWorklistDeploymentHook" name="UniversalWorklistDeploymentHook" type="service"/>
      </registry>
      <application-config>
        <property name="startup" value="true"/>
        <property name="releasable" value="true"/>
        <property name="ServicesReference" value="SAPJ2EE::library:tckmcbc.uwl~api,SAPJ2EE::service:webdynpro,com.sap.portal.runtime.system.inqmy, com.sap.portal.ivs.connectorservice,com.sap.portal.ivs.systemlandscapeservice, urlgenerator, com.sap.portal.usermapping, usermanagement, com.sap.portal.runtime.application.rfcengine,com.sap.portal.runtime.config,knowledgemanagement"/>
        <property name="PreservedConfigPaths" value=""/>
        <property name="Vendor" value="sap.com"/>
        <property name="SecurityArea" value="NetWeaver.KMC"/>
      </application-config>
      <components/>
      <services>
        <service name="com.sap.netweaver.bc.uwl" alias="UniversalWorklistService">
          <service-config>
            <property name="className" value="com.sap.netweaver.bc.uwl.core.portal.UWLPortalService"/>
            <property name="classNameFactory" value=""/>
            <property name="classNameManager" value=""/>
            <property name="poolFactory" value="0"/>
            <property name="startup" value="true"/>
            <property name="SafetyLevel" value="low_safety"/>
          </service-config>
        </service>
        <service name="UniversalWorklistDeploymentHook">
          <service-config>
            <property name="className" value="com.sap.netweaver.bc.uwl.core.portal.UWLDeploymentHook"/>
            <property name="classNameFactory" value=""/>
            <property name="classNameManager" value=""/>
            <property name="poolFactory" value="0"/>
            <property name="startup" value="true"/>
            <property name="SafetyLevel" value="low_safety"/>
          </service-config>
        </service>
      </services>
    </application>

  • Import directly to Audio books folder

    Hello
    is there a way to import directly to an assigned folder.( audio books) For example I imported a cd book all the tracks were imported as tracks and could I not sort them out. Is there a purpose for the audio books folder.
    Thanks to all that help.
    Troy

    When iTunes open check General preferences under iTunes on the menu bar to see if the category Books is checked.

  • Import directly to time capsule

    i'm looking for additional hard drive space for image storage. Two questions. Is it possible to set up time capsule as a stand alone hard drive? and can aperture be configured to import directly to time capsule?

    Short answer:  what Frank said (cross-posted my answer).  Read below for, essentially, the same conclusion -- or better spend you time shopping for a good FW drive.
    Hi Brad.  You can use any drive for storing Masters.  Apple recommends -- and users concur -- that the drive should be directly connected to your computer (this rules out NAS).  Iirc, the Time Capsule can be configured (partitioned) to function as both a back-up drive and as a storage drive.  So you can do what you want.  But note that it should be wired to your computer (not wireless), and the connection should be at least as fast as FW400.  Also, since this will be a Referenced Masters set-up, you should be familiar with how that works.
    Aperture imports files and puts them where you tell it to (or leaves them where they are).  If you have configured your Time Capsule (or part of it) to be storage, then you can tell Aperture to store your Masters there.
    I recommend, however, that you leave your Time Capsule and as is, and scrimp together enough money to buy a FW800 external drive and dedicate that to storing your Masters.  You are outgrowing your storage (and backup) capacity -- this trend will continue.  Giving up some of your back-up capacity in order to convert it to storage capacity is only a stop-gap measure -- and the effort to do so is likely not worth the short-term gain.
    Photography today, and Aperture today, demand a lot of hardware.  Storage is inexpensive -- buying what you need is almost always is a worthwhile strategy.

  • Configuration to allow a LEDES file to be imported directly into AP

    Does anyone know if there is any configuration possible to allow a LEDES (Legal Electronic Data Exchange Standard)  file to be imported directly into SAP Accounts Payable?
    Thanks a lot for your help.
    Regards
    Pravin

    Problem solved ............  as I sort of suspected.
    Today I acquired another card reader and guess what, FCP X imports the 50p footage perfectly.
    The findings I get with my Panasonic SD800, which are probably representative of most cameras are as follows:-
    1. When the camera is plugged into my iMac, FCP X will only recognise and import normal AVCHD video but not 1080/50p even when shot on a separate card.
    2. With the SDHC card plugged into a card reader, FCP X recognises and imports 1080/50p
    3. Also when using the card reader, there is no problem mixing AVCHD and 1080/50p on the same card as FCP X recognises both sets of clips simultaneously.

  • Can't Import Directly from Card Reader or Camera anymore

    I am using aperture 2.x and all of a sudden I can't import directly from my G9, 30D or San Disk card reader anymore. I have to copy files locally first to make this work.
    This is what happens: I can see and select the thumbnails off the card just fine but when I select all and import it immediately says "0 files imported".
    Any ideas?
    pete

    Mauronic wrote:
    For the record, the last thing I want to do is add another step to my workflow (actually several steps) by copying my data to an intermediate location first. So still interested in solving this issue.
    For the record, the workflow you describe is a good way to lose image data. The anomalies that you are experiencing should be a clue; you could just as easily be losing image data.
    I guess it just depends on how important the images are to each individual photog,
    -Allen Wicks

  • Import Direct Binding Service WSDL in OSB

    I was wondering how to import direct binding service wsdl in OEPL. I tried the below but getting an error. Any help is greatly appreciated.
    File - Import - File System. .... After importing the WSDL, I'm getting an error. So I was not sure if I'm on the right track or not.
    Thanks
    NC

    If you have brought in the whole directory structure then you can simply drag the WSDL into the corrct directory that relates to your imports.
    Then you can delete the unwanted directories using the delete key.
    If you don't want the directory structory to import you need to be conscience every time that you need to uncheck a check box that is checked by default. Can't remember the exact name but basiclly something like import directory structure.
    Once the WSDL in correct folder and still having issues, open up and view the source. Make sure all references are correct for the project directory structure.
    cheers
    James

Maybe you are looking for