Location of image files, dat files etc.. in a project

hi,
I dont whether this is the proper location to ask this question but i couldnt find answer anywhere else.
I am using netbeans 5.0 to write some jsp pages. I want to display some image file in the jsp. I tried all posiblle locations for locating the image file but all the time i was getting file not found error when try to open the image in the browser using http address. I wasted lot of time on this issue nd couldnt proceed further because of this silly error.
Please help me out...where the image file should be located in netbeans 5.0 so that it can be displayed in jsp pages.
thanx

I generally put an images directory in the web-app directory (alongside the jsps) and put the images there. then refer to them, as <img src="images/xxxxxx.png">

Similar Messages

  • How to send more then one image ore data file

    Here
    http://www.kfhgd.internetcafe-kaufbeuren.de/upload.php
    I use an already
    made script. I want to allow users to send more then one
    image or data file
    to the server. All my efforts for reaching the author had
    been
    unsuccessfully.
    Could someone help me to change the script in my way?
    Ciao, servus und salut
    Janis

    .oO(Janis)
    >Here
    http://www.kfhgd.internetcafe-kaufbeuren.de/upload.php
    I use an already
    >made script. I want to allow users to send more then one
    image or data file
    >to the server. All my efforts for reaching the author had
    been
    >unsuccessfully.
    >
    >Could someone help me to change the script in my way?
    You need multiple file upload form controls in your HTML and
    the PHP
    script has to loop through the array that holds the
    informations about
    all received files.
    The script might also need some additional security checks.
    Currently it
    seems to be possible to upload any arbitrary files, even
    other scripts.
    With some more tweaking the server might be tricked into
    executing them,
    which would be a huge security hole.
    The receiving script has to check the actual file content,
    not just the
    file extension or content type, which can both be faked.
    Where did you get that script from?
    Micha

  • Location of iPhone sync data files or How to not have to re-install all my iPhone apps?

    Hi Folks,
    I recently did a clean install of Lion on my MacBook Pro and I've chosen to not use Migration Assistant because I don't want to move over a bunch of cruft under my 4+ year old home directory (Tiger > Leopard > SL).  I've been very selective about the things I've moved over and all has gone well until I want to sync my iPhone.  I've transferred purchases from the iPhone but if I check Sync Apps, iTunes wants to wipe and re-install everything!  This wouldn't be a problem, except the time it would take to re-organize all my apps on the iPhone again.   (Side note: Please Apple, give us an "auto-organize" button for apps!)
    Any idea how to move over my old sync data files to avoid having to nuke/reinstall my iPhone's apps?  Or is there another option to preserve how my apps are organizated?
    Many thanks in advance,
    Rob

    Skyler Richard wrote:
    Setting it up as new will not put anything over, then when you sync it will sync the applications over and it will sync the applications over Un organized.  My advised should resolve the issue, I work for technical support for the iPhone's, iPad, and iPod Touchs for Apple...
    Right Click the iPhone and click Transfer Purchases and then do the backup and restore from backup... That will transfer all your applications over to your computer and then organize them properly in their folders...
    OK, that does make sense so I won't bother setting it up as a new phone.
    Quick follow up question though, do I need to click the Sync Apps check box before I do a restore?  The reason I ask is that I've done a transfer purchases/backup/restore cycle but all the tabs (Apps, Music, Movies, etc.) do not have the sync check box checked following the restore as I would expect.  And when I go check the Sync Apps check box that's when it warns me "Are you sure you want to sync apps?  All existing apps and their data on the iPhone will be replaced with apps from this iTunes library."  That's when the apps then become unorganized.
    Thanks so much for your continued help!
    Rob

  • Location of Widget Preferences/Data Files

    I've got the "Classic Notepad" widget installed to track job numbers, but after transferring everything to a newer machine, the widget no longer displays the content. I'd like to recover this list, as I (stupidly) don't have it anywhere else, by seeing if I can extract the info from the data files generated by this widget. Can't find any information on the location of those files.
    Where are the data files for widgets located in 10.4.11?
    Thanks!
    gary

    Thanks for the reply. I located the preferences file, which didn't have my data. But you gave me a great clue -- so I looked in the user/library and found a folder which contained the text file and my data! Joy joy and more joy!
    I've successfully recovered two years worth of job numbers. Thank you!
    gary

  • Saving an image and data file

    Am am current developing a program similar to the one below using an elvis module.
    I am trying to save am image of the graph but, the save image window keeps popping up because of the loop.
    I just want to be able to click a button and then save the image to a file without the save window popping up every time. 
    Attachments:
    conor.vi ‏57 KB

    Hi cdwyer,
    In your second example's block diagram, you need to have the save button terminal and the associated case structure within your main loop, otherwise the button/case structure is only read/executed the one time.
    An additional tip: When saving "computer graphics", like LabVIEW panels or diagrams, it's nearly always better to save them using the PNG format. PNG format is both compressed (small file sizes) and yet also "lossless compression" (no image degradation) - also it's usually preferable to use true colour (24 bit colour depth).
    JPEG file type is a "lossy" type of compression that is designed for photographics - it will cause blurring and colour distortions when used with computer graphics.
    Mark.
    P.S. Worth a few star ratings?
    Message Edited by Mark H on 02-02-2006 12:11 PM
    Attachments:
    example2 modified.vi ‏72 KB

  • Exporting table data to a Comma Separated file / .dat file?

    Hi All,
    I want to export the table data to a .CSV or .DAT file. This data is an input to other software to read and load like "Informatica".
    I tried spooling the file by providing the extension as .CSV but that did'nt work!
    Could you please let me know how can I get the data of a table into a .CSV or .DAT file?
    I am trying to get it via SQL Prompt.
    Thanks in advance.
    Himanshu

    Take a look to the Laurent Schneider's solution.
    Nicolas.

  • HT1414 apple logo flashing . will restoring delete all my images and data files ?

    while updating the apple logo started flashing .
    i cnnctd my phone to the i tunes .
    want to restore bt want to knw dat will all the images and messages will be deleted if i restore my phone

    Your data is already gone if itunes is saying your phone needs to be restored.
    If you have a backup, you can restore to that backup, if you don't have one, then there gone.

  • Location of the contacts data file.

    It looks like I just deleted all of my contacts. Anybody know where the contact data is stored in Mountain Lion and can I use Time Machine to do a restore?

    Contacts are in User Home Folder/Library/Application Support/AddressBook.  Most of my contact info seems to be in the /AddressBook/Sources Folder.
    You may want to try restoring the entire /AddressBook Folder

  • When you try to send or to receive email in Outlook 2010, you may receive one of these error messages: 0x8004010F: Outlook data file cannot be accessed. or 0x8004010F: The operation failed. An object could not be found.

    0x8004010F: The operation failed. An object could not be found.
    1. reviewed Profile instructions
    2. Ran SytTools thinking it would fix the error. NO although I could send received I ended up with a giant pst 
    3. Back to Profile Instructions.
    4. Set up new profile with my email address. email address tested well. Run Outlook. loads as outlook data PST
    and  gmail address PST.  Deleted all the Gmail subscriptions to improve speed. Original error was gone but have two GIGANIC PST FILES.
    5. Set up another new profile with my email address and a named pst.  Run Outlook under that Profile -
    comes up with newly named pst and the gmail addrress pst (although I can't figure out where that pst is located. Will not let me use email address as default Profile.  Tried different approaches and still ended up always with the gmail address pst.  Deleted
    all profiles but email address and comes   up.
    6. Should I just go ahead and use the gmail address pst  I need to import data or download data from gmail
    to get last years correspondence.e
    7. Outlook is my lifeblood, I am in communications and every submitted email gets moved to a file with an update.
    Help?
    8. One option is to merge psts but might make worse mess.
    Thanks.  Beautiful Beach weather here!

    To resolve error 0x8004010F , identify the current location of your default Outlook data file, and then create a new Outlook profile.
    Step 1- Locate the default Outlook data file
    Click Start, and then click Control Panel.
    In Control Panel, click Mail.
    In the Mail Setup - Outlook dialog box, click Show Profiles.
    Select your current Outlook profile, and then click Properties.
    In the Mail Setup - Outlook dialog box, click Data Files.
    Select the Data Files tab in the Account Settings dialog box, and then note the name and location of the default data file for your profile (a check mark will denote the default data file).
    Click Close.
    Step 2 - Create a new Outlook profile
    Step 3 - Configure your new Outlook profile as the default profile
    More detailed steps you can refer to this KB article:
    http://support.microsoft.com/kb/2659085

  • LabVIEW created .DAT file with saving only new data on existing files

    I can successfully create and save a .DAT file using LabView and Diadem.   The save command I am using (in Labview) only overwrites existing files, I would like it to save only the new data from the last save.  Overall I would like to save the data every 1hr and since my test will last for many hours, the further along in the test the longer it would take to save the full file.  I know Diadem has the capability to save in such a manner, so I have thought about after I write to Diadem have a small Diadem application save periodically, but I haven't found a way to save the .DAT file, with out any signals coming into the save function.  I have attached the example .DAT file creater and saver I am using to figure it out.  thanks for your help!

    Howdy New Guy -
    I am not sure if you are looking to append to a file, or if you would
    like to overwrite a file.  In either case, you can take a look at
    the "Append To File.vi" example for DIAdem. 
    Either way, you may be experiencing problems because you are only using
    the "DIAdem Simple File Write.vi" (found on the DIAdem >> DAT
    Files palette).  Instead, you can use the "DIAdem File Write.vi"
    (located on teh DIAdem >> DAT Files >> DAT Files Advanced
    palette).  This VI can be set to overwrite or append to file.
    I hope this helps in your development!
    Andrew W. || Applications Engineer

  • One of my email accounts will not send email, and is not linked to data file.

    I have three email accounts set up with my Outlook 2010. All are POP3. All three accounts have been working fine, until the last day or so. One of my accounts will no longer allow me to send messages. When I go to my account settings, the two accounts that
    are working show the following:
    Selected account delivers new messages to the following locations:
    Email Address\Inbox
    in data file C:\...
    The one that doesn't work shows the following:
    Selected account delivers new messages to the following locations:
    My Name\Inbox
    The .ost data file for this email address is still in the same place, right next to the other two data files for the working accounts. For some reason, Outlook no longer has it linked to my account. How can I go about fixing this issue?
    Thanks.

    Hi Gwidion,
    Outlook 2010 and 2013 create PST per POP3 account. In simple, single PST file for single POP3 account. So, don’t be panic. Just change the location of the
    PST data file by following the given path in Outlook 2010:
    File >> Account Settings >>  Emails
    In the “Email” tab, choose the particular account which is not able to send emails and make a double click on it or click on
    “Change Folder” option. Finally, set the location of Email address.
    Hopefully it will help, otherwise simply recreate a new Outlook profile.
    For more:
    http://support.microsoft.com/kb/829918/en-us
    Thanks
    Clark Kent

  • MySQL data files: where do they live

    I am building an online system using mySQL. I have two (I hope) simple questions.
    1. Where do the data files live eg. What do I have to backup to be sure my data is safe?
    2. I built the system on a Mac OS 10.3 machine (not 10.3 server). How do I transfer the mySQL database structures to the (now included) version of mySQL running in Mac OS 10.4 server?
    Any advice will be much appreciated.
    Ray
    G5   Mac OS X (10.4.3)  
    G5   Mac OS X (10.4.3)  

    On OS X Server, the standard location for the MySQL data files is: /var/mysql. Any databases you create will wind up in there. If you install a fresh copy of MySQL onto OS X from a MySQL package, they go into /usr/local/mysql/data.
    You have a couple of options for the transfer. 1) Using MySQL, use mysqldump to create SQL files of your database tables, both structure and data. 2) Using something like phpMyAdmin, you can export the tables into a structure that can then be imported on your 10.4 server. 3) Copy the relevant database directories from your /var/mysql directory on OS X 10.3 into the /var/mysql directory on your 10.4 Server. Either stop MySQL on 10.3 first or lock the tables before you do a copy. Then, after plopping them into the 10.4 directory, restart MySQL on 10.4 and you should be good to go.
    If you are interested in knowing how to use the tools like mysqldump or how to import from a text file, MySQL's site has a section of documentation on these: mysqldump / mysqlimport
    Xserve Dual 2.3 GHz / PowerMac Dual 2 GHz   Mac OS X (10.4.3)  

  • Just bought a 2tb external hard drive with the intention of moving my iPhoto data files on it. I have so much of my 500 gigs being used up by images and video. Questions: Will this foul up my iPhoto app? Do I need to point iPhoto to this new location?

    Just bought a 2tb external hard drive with the intention of moving my iPhoto data files to it. I have so much of my 500 gigs being used up by images and video. Questions: Will this foul up my iPhoto app?
    Do I need to point iPhoto to this new location?
    Thanks!

    Are you running a Managed or a Referenced Library?
    A Managed Library, is the default setting, and iPhoto copies files into the iPhoto Library when Importing. The files are then stored in the Library package
    A Referenced Library is when iPhoto is NOT copying the files into the iPhoto Library when importing because you made a change at iPhoto -> Preferences -> Advanced. (You unchecked the option to copy files into the Library on import) The files are then stored where ever you put them and not in the Library package. In this scenario you are responsible for the File Management.
    Assuming a Managed Library:
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • Need advice on how to import / store existing image files into LR etc.

    Hi,
    I am just beginning to use LR 2.3 and I want to start correctly....
    I have been pondering how to begin and I was hoping some of you might point me in the right direction.
    1. I have all of my RAW files on my Mac's desktop and they are organized at the top level by each of the 2 cameras they were taken with and then the sub folders of each organized chronologically with each subfolder titled by the location or subject of the images matter within each folder.
    I want to import these into LightRoom 2.3 in a manner which will preserve this taxonomy. I also want to convert these RAW images into DNG files on import. How do I set up LR2 to do this?
    2. I want the Lightroom files and the image files to live on my external Caldigit eSATA VR drive. This drive is actually 2 disks set to mirror as hardware RAID 1 so it is essence its own backup if one disk dies. How do I point LR to create and store the DNG files on this external drive and then set LR2 to back up so that the LR datafiles also live there? Would you say this is a good way to set this up or should the LR datafiles ( previews etc. live with LR on the OS drive??
    Is RAID 1 as safe as backing up to 2 different HD's?
    Is it best to convert to DNG ( I like the fact that any LR image data is stored with the DNG and is not a sidecar file which could get seperated) or convert to DNG with orginal RAW file incorporated? How massive do these get?
    Is it best to use LR2's backup utility and exclude the LR data from the Time Machine backup?
    Sory for the long question...

    >1. I have all of my RAW files on my Mac's desktop and they are organized at the top level by each of the 2 cameras they were taken with and then the sub folders of each organized chronologically with each subfolder titled by the location or subject of the images matter within each folder.
    >I want to import these into Lightroom 2.3 in a manner which will preserve this taxonomy.
    >I also want to convert these RAW images into DNG files on import. How do I set up LR2 to do this?
    On the Import Photos Screen, pick "Copy photos as Digital Negative(DNG) and add to catalog" from File Handling drop-down at top of screen.
    If your photos are organised as:
    Photos - Camera 1 ...
    - Camera 2 ...
    then Lightroom will reflect that folder view in its Folders panel. Also, when converting to DNG you get to choose destination folder (answers part of your question 2) and multiple organisation choices including "Organize by Original Folder"
    (Take a look at Chapter 4 of the help file for more information: http://help.adobe.com/en_US/Lightroom/2.0/lightroom_2_help.pdf)
    2. I want the Lightoom files and the image files....
    Create your catalog on that drive. Move your images to that drive before importing them, and when converting to DNG on import, choose a folder on that drive as destination on import screen.
    >Is RAID 1 as safe as backing up to 2 different HD's?
    No. RAID 1 is a simple mirror of 1 drive on another; so if you delete a file on drive, it is also deleted from both drives. Likewise, if a file is corrupted on one drive it will also be corrupted on the mirror. RAID 1 is good as a safeguard against single-drive failure; your data will be available from the remaining drive, but it is not a safeguard against user error or file corruption.

  • HT3275 I'm receiving an error message that reads "The backup disk image '/Volumes/Data/my name's iMAC.sparesebundle" is already in use.  The time capsule is not backing up any files.

    The Time Machine is not completing thte backup to my Time Capsule.  I am receiving a message which reads "The backup disk image "/Volumes/Data/Mac Jet's iMAC.sparsebundle" is already in use."  I cannot locate the source of the problem or what steps need to be taken to get the Time Capsule operating.

    Hi, see if it shows here...
    In Finder's Menu, select Go menu>Go to Folder, and go to "/volumes". (no quotes)
    Volumes is where an alias to your hard drive ("/" at boot) is placed at startup, and where all the "mount points" for auxiliary drives are created for you to access them. This folder is normally hidden from view.
    Drives with an extra 1 on the end have a side-effect of mounting a drive with the same name as the system already think exists. Try trashing the duplicates with a 1 or 2 if there are no real files in them, and reboot.
    If it does contain data...
    http://support.apple.com/kb/TS2474

Maybe you are looking for

  • Same apple ID - Find my iphone

    we have two iphones and an ipod touch operating in our house all with the same apple id and one of the iphone were just stolen out my partners van ive logged onto my 'find my iphone' app and it is showing my phone and my sons ipod but not my partners

  • Asset posting in BAPI_ACC_DOCUMENT_POST

    Hello Folks, I'm using BAPI_ACC_DOCUMENT_POST to post documents through an upload facility. I want to be able to post Assets through the same BAPI. Can you pls let me know how to populate the details for asset line items in the BAPI parameters. I hav

  • How to set up bb stuff

    I've just bought a new blackberry curve 3G and I've never used a blackberry before, as things are going I'm close to taking it back. I have no idea how to set this up, the instructions were about as vague as possible, so I'm stuck. I can't register m

  • JDEdwards and UCM Integration

    Can anyone give me the idea about the jdedwards and oracle UCM integration? Please share the Doc links if you have any?

  • I want to avoid or reject mapping import from AD to UPA in sharePoint 2010

    I don't want the Title from AD to go to UPA I n Sharepoint 2010 Like I don't want any updates from AD to UPA regarding the Attribute title in AD In UPA the property is TITLE but I have removed mapping I feel their is Hidden mapping between the AD and