Can I use JDOM to parse if I just put the class into a servlet folder witho

Dear ALL,
I am using JDOM to do some parsing of my XML.
I can compile it on my own machine since I installed JDOM.
But I have to put all my files in a servelt folder at my college which hasn't got J-DOM installed.
I placed the jar file into it, and the class which I compiled on my machine but It doesn't work.
Can someome pls telll me how I can get it to work on the machine at college?
Is downloading JDOM-beta7 the only way?
Many Thanks

Typically the servlets directory will be in the webserver's classpath. This being the case, any class in that directory will be in the classpath. When classes that are in packages (such as org.jdom.*) and they are not in a jar file, they will be contained in a directory structure reflecting the structure of the package. For example, the class org.jdom.Attribute would have a path like /servlets/org/jdom/Attribute.class (if it were in the servlets directory on a Unix machine).
SO, to get to the point, if you unjar the jdom jar file, and put the resulting directory structure in the servlets directory, then your servlets should be able to get to those classes. That is how I would do/try it if I were in your situation.
Winzip can unjar jar files... and there are utilities provided with the JDK. Let me know if you need more help!

Similar Messages

  • Can I use an alias to trick an application about the location of a support folder?

    OS X Server makes extensive use of alias files and folders, which evidently allows the storage of library folders and data on a drive other than the OS X drive.
    I would like to store the data for a similar program, Daylite Sever (also evidently using PostgreSQL), on a drive other than my OS X drive. To this end, I've tried creating an alias folder in the location where Daylite Server stores its "database" file, /Library/Application Data, but Daylite Server was not fooled. So, I was able to accurately reproduce the ACLs using chown and chmod. Daylite Server was still not fooled into following the alias to another volume. Note that the ACLs listed "_dayliteserver" as the owner, and I was unable to add this user through the "Get Info" GUI. I simply typed it into terminal using the chown command, and OS X seemed to accept it.
    Is it that some applciations just do not tolerate aliases? Must an application be preped to accept an alias instead of the folder it is looking for? Is there something other than the ACLs that I need to change to convince Daylite to follow the alias to a separate volume?
    Thanks for any help you may be able to provide!

    Using the symlink almost worked. After creating the symlink, the app not longer fails on launch. Now, it simply hangs. The error I'm getting is "com.marketcircle.daylite.accessd caused server to be off with error: (null)". So, I think it is now a permissions issue.
    I know that I can change ACLs, and I've tried to do that on the symlink file I created using chmod and chown. I think I have the ACLs correctly, but I think there is another kind of permissions or access controls I need to adjust. Does any know what they are and how to adjust them?

  • HT5437 How can I use apple TV to connect my computer to the tv screen as an external monitor?

    How can I use apple TV to connect my computer to the tv screen as an external monitor?

    Morning jotref,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at this article:
    About AirPlay Mirroring in OS X Mountain Lion
    http://support.apple.com/kb/ht5404
    Best of luck,
    Mario

  • I need to update my phone, but my computer broke, and do not have a new one. I have an Itunes account, can I use someone else computer to go through with the update?  Is there a chance of loosing all my data, ie: music/photos?

    I need to update my phone, but my computer broke, and do not have a new one. can I use someone else computer to go through with the update if i log on with my itunes account or Is there a chance of loosing all my data, ie: music/photos? And if all else fails can i go to the apple store and have them update my phone?

    Update to what? The 3G you want to update? You have ios3 or 4 on that 3G?
    Go to a friend, authorize that pc.
    Read this : http://support.apple.com/kb/ht1848
    and this : http://support.apple.com/kb/ht2519
    Make a backup of your stuff (from the phone. apps/photos/music/blabla). Update your phone. The phone will restore the backup automatically.

  • Can I use more than one blue-tooth device at the same time on IPhone 4S? Like a wireless headsets and speed and cadence sensor for cycling computer, receive the data and listen music simultaneously

    Can I use more than one blue-tooth device at the same time on IPhone 4S? Like a wireless headsets and speed and cadence sensor for cycling computer, receive the data and listen music simultaneously

    As long as the profiles are different (ex. HID vs AD2P) you will not have any issues. But say if you try to use 2 keyboards at once, it won't work. Or 2 headsets at once. Your scenario seems fine.

  • HT1660 how can I use one single library for all users on the same laptop?

    how can I use one single library for all users on the same laptop?

    You are most of the way there. Each user having access to hard drive is the key. If users are limited in file privileges this is harder.
    Any files you add to your library and any files she adds to her library are available to the other. Just not automatically. Each user must add the files to their own library using the add file or add folder option from menu bar.
    What I have done is set library location to a location outside of My Documents\My Music. On my network storage I have a folder names s:\itunes. Both accounts iTunes are set to use this location for the library.

  • Can I use my 2TB WD My Book Essential for the Time Machine feature on the MacBook as well as two other Windows computers (one running 7 and one with Vista)?

    Can I use my 2TB WD My Book Essential for the Time Machine feature on the MacBook as well as to store information from two other Windows computers (one running 7 and one with Vista)?

    Yes you can but you need to partition the drive into at least 2 separate drives.
    To do that you need to use a Windows PC to do the first partitioning. Say you split the drive into two partitions each 1TB (or close to 1TB) each.
    Partition fand format both partitions on a Win PC as one NTFS and the other FAT32.
    Then move it to the Mac and Reformat the FAT32 partition Mac Extended (Journaled) with a GUID Partition Table.
    I have that same drive and that is what I did originally with it. I now have it just for the Mac as I have other externals for the Win systems.
    Good Luck.

  • Can i use my ext hard drive USB 2 on the the new macbook pro laptops with a USB3

    can i use my ext hard drive USB 2 on the the new macbook pro laptops with a USB3

    stephan ach wrote:
    but i read that there are lots of problems with the new macbook pro. i  have all my data on ext. la cie hard drive. i wont have a problem reading them?
    What problems specifically? If you have a problem you should start your own thread and explain the problem in detail.
    External USB devices including hard drives and DVD work fine on the new Macbook Pros.

  • While using my Iphone 5, all of a sudden  black and white stripes where on the screen. I have tryed to turn the phone off and on again, but there are only the stripes. I can't use it, and nothing happens when I push the buttons. Can someone help me?

    While using my Iphone 5, all of a sudden  black and white stripes where on the screen. I have tryed to turn the phone off and on again, but there are only the stripes. I can't use it, and nothing happens when I push the buttons. Can someone help me?

    Try resetting your phone, hold the home and sleep/wake button down until the apple symbol comes up, then release. If that doesnt work, you may have damaged your phone and need to take it to an apple genius bar.

  • Can I use an Adobe Professional license from 2008 with the current version of Adobe Acrobat XI Pro?

    Can I use an Adobe Professional license from 2008 with the current version of Adobe Acrobat XI Pro?

    With "license" you mean serial number?  If that serial number was for a different Acrobat version (e.g. 9), you cannot use it for the current version XI.
    You can however use it to purchase an upgrade from http://www.adobe.com/products/acrobat.html

  • How can I use Guest network when my internal server provides the DNS?

    How can I use guest network when my internal server provides the DNS? The help article TS4505 tells me to enter an external DNS server, but I believe I can not configure my network that way...

    Apple assumes that you will be connecting the Time Capsule to a simple modem....and.....that the Time Capsule is configured as a router to provide DHCP and NAT services for the network.
    The Guest Network cannot be enabled correctly unless the Time Capsule is in charge of DHCP and NAT services on the network.
    Another way of saying the same thing is that the Guest Network will not operate correctly if the  Time Capsule is configured in Bridge Mode or DHCP Only.

  • Can I use two apple TVs in different locations in the same house?

    Can I use two apple TVs in different locations in the same house?

    Welcome to the Apple Community.
    You can use 2 or more Apple Tv's in different locations in the same house. You can even use them at the same time and watch the same content on each or choose different content.

  • Can I use a prepaid visa card to enroll in the Apple Developer Program?

    Hi, I'm 16 and my family is wanting to enroll me in the Apple Developer Program for my Birthday. I'm wondering, can I use a prepaid visa card to enroll in the Apple Developer Program? There is no way for me to get a credit card.

    You must be 18 if you care to be legal about it and we hope you would
    See Can you be a kid and make an app

  • HT2101 I can't find the keyboard by using iMessage, but I can by using email or whatsapp? How I reset the keyboard on iMessage?

    I can't find the keyboard by using iMessage, but I can by using email or whatsapp? How I reset the keyboard on iMessage?

    Did you tap in the box at the bottom of iMessage?
    If you did and no keyboard is showing: Do a reset
    Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data
    If that didn't helped, double tap Home button, delete the Message app and reset again.

  • Can I use my iPhone to have internet access on the iPad?

    Can I use my iPhone to have internet access on the iPad?

    Yes, but you have to have your phone set up for tethering. Depending on your carrier that might require a special plan.

Maybe you are looking for

  • The Scaling tool doesn't work correctly

    I want to click an area on screen where I want an object to scale to. Only the left click doesn't work. I have to alt click in order to pick a point, and when I do that a dialogue box appears with % proportions. Not very intuitive. I have tried reset

  • Tried to download evaluation software, not working

    After approximately a half an hour of downloading of NI LabVIEW Evaluation Software it faild to unzip, and I couldn't get it running.

  • DB Backup Failing

    I am running EM 10g2 GRID and have backups of my databases setup. One in particluar is failing on me and giving the following error: "archived log F:\V01\ORADATA\VISP\ARCHIVE1\ARCH00323.LOG not found or out of sync with catalog RMAN-03002: failure of

  • Mighty Mouse wigging out..

    i came home tonight to find that my mighty mouse is really messed up. before work it was perfectly fine. when you rest both fingers on top of where the left and right button are, it continuously clicks. faster than what most normal people would.. by

  • Cannot move old profile to new installation

    I need to move my FF profile to a new FF installation on a new PC, but I cannot get the profile to "stick". I have tried copying the old profile's files into the new default folder and changing the .ini file's default to match, but it isn't working.