How to locate the correct image file before reading/saving it

Hi,
I would like to find out how to copy/save/read image files from certain website in Java, particularly to locate the right one from various relative URL links on the same website. Below is an example to look at:
On the main web page
By selecting (http://www.abc.com/Public/Details.aspx?adid=2007103609) on a tiny camera icon that consist of source code (<td class="even"><a target="_blank" href="http://www.abc.com/Public/Details.aspx?adid=2007135110"><img src="/images/camera.gif" width="19" ...></a></td>) directed me to another page with the actual photo.
The source code of this secondary page where the photo is located are as follows:
<script language="JavaScript" type="text/javascript"><!--
</script>
<style type="text/css">@import url("http://fdimages.def.com.au/cui/netstrip-20050427.css");</style>
<div id="networkStripTop">
<a href="http://www.def.com.au/" onclick="linktop(this);" target="_top"><img src="http://fdimages.def.com.au/cui/digital.gif" height="17" width="95" class="logo" alt="DEF Digital" /></a>
<div class="links">Any suggestion would be much appreciated.
Many thanks,
Jack

Hi All,
Could someone give me a hand with suggesting on how to locate the correct links (from multiple web pages) of the image file? I still could not proceed further on this issue.
There is no problem with saving/reading the file once it is accurately identified.
Please move it to the Java Technology & XML forum if it is not already in it.
Many thanks,
Jack

Similar Messages

  • How to get the name of file was read from file adapter ?

    Hello!
    I make a pooling into one directory to read all *.fat files in this directory, and I want the name of this file
    is it possible ?
    God bless all!

    it is mentioned in the sample code.. look at the pdf guide inthe sample code document for file adapter.
    you need to define a variable of message type of the file adapter inbound header message type and assign the variable to the apapters tab in the receive activity..
    the variable will have file name now

  • I was using photoshop CC as normal, when suddenly it started going haywire. It has corrupted all the one PSD files by distorting the images and colour. Does anyone know how to recover the original images?

    I was using photoshop CC as normal, when suddenly it started going haywire. It has corrupted all the open PSD files by distorting the images and colour. They are now completely unrecognisable and unusable. Does anyone know how to recover the original images as I was saving them as I went along but the files are now corrupt?

    What version of Photoshop are you running?
    I've seen a couple of instances over the last week or two where Photoshop has added masks, strange colours and also merged content from two separate PSD files that were open at the same time.
    This has occurred on two different iMacs, (both 10.10.x) running Photoshop CC 2014.2.2 (20141204.r.310 x64).
    see image below for example:

  • Correct Image File Format For Magazine Printing

    I am using InDesign CS4 and I would like to know if it's ok to use JPG or JPEG images for printing magazines ?  If not, can you please tell me the correct image file format I should use with InDesign for designing and printing a magazine ?  Also what would be the best way to convert the image files from JPEG to that correct image file format ?

    Use what ever format you like, I perfer .tiff with LSW compression or .eps. If you don't know what you are doing just include the original image when you send you project to the printer and link the image in InDesign don't embedded it.  When you furnish the original image the prepress department can set it up correctly.
    I perfer 300 dpi with image is at 100% of the final size, if the image is printing 150 line screen when printed. 200 dpi is ok for 133 line screen.  I would even perfer a 100 dpi image over a .jpg image that has be over compressed.

  • (!) How to locate the original file for missing songs?

    song could not be used because original file could not be found. Would you like to locate?
    I got this message when I last tried to synch my ipod.  The message said there were 100 files which could not be found.   Actually more than 100 songs show the exclamation mark that says the file can not be found. 
    Previous posts on this issue suggest the underlying file has been changed or moved out from the ITunes organisation.  Well the last time I synched my ipod on Lion a few days ago it was fine.  On Sunday I wiped my hard drive, carried out the upgrade to Mountain Lion as a clean install, and used Migration Assistant to bring my user data over.  After that I ran cclean and disk utility permissions and disk verification.  Then this happened.
    I migrated my  iTunes Library to an external hard drive six months ago. That was disconnected during the upgrade so I am not sure why the files can’t be found now.    Anyway, I want to recover the missing files .  I could not find them by name, album or artist on the external drive.  So I thought I would find them in Time Machine backup #1.  I couldn’t!.  Nor could I find missing songs on my alternate Time Machine backup #2.  Both Time Machine backups are set to include the external drive.  Songs recognised in iTunes are visible in the backups, but not the ones that are missing.
    I have a third backup volume which was a clone of the Lion setup before I did the upgrade, but I can’t access this or Mac for a few days.
    I did have some permissions failures after the 10.7.4 upgrade which resulted in creating 2 new standard user accounts.  Maybe I’v e got some files across these users?  But in that case I’d have seen problems before the upgrade?   I notice a fair number of these are compilations imported from CD about 4 years ago.  Bu tnot all. 
    (1).  Is there a smart way to list all the files that are missing?
    I can scroll through all of  ITunes Music to see where there are exclamation marks.  I’d like to only list these missing songs.
    (2).  How can I locate the missing media files?
    -  a search on Name / Album / Artist hasn’t found them in live drives or on TM backups.  I’ve still got the missing songs on my iPod, however.
    Once I can answer these questions with your help I’ll know what would be the best way to try to recover, and to work out what went wrong.  I’m shocked that I can’t find them in backup.   Eventually I can restore audio from original source.  If they were photos that went missing from library and backups then I would have no way to get back!
    (3) could this happen in iPhoto?  (shiver)

    Thanks for taking the time to look at my problem.  Shared is empty and I didn't back it up - I only transferred the standard and Admin users to the clean install of Mountain Lion.
    But I got some valuable insight into how the iTunes library is set up from your article on split Libraries. I'd like to see it in the Tips for iTunes for Mac.   My Itunes library was set up in pre-Itunes 8 structure, and as I'd moved it to an external drive it didn't get migrated to the new structure in recent upgrades, perhaps?
    I found your article extremely useful : https://discussions.apple.com/docs/DOC-3991.  That gave me the means to restore the missing files more quickly than getting the original CDs out and re-importing them to iTunes.
    So I've now restored the missing files and started the backups rolling ....
    I still don't understand how they went missing.  However the best backup was the Ipod itself.

  • I upgraded iTunes to 11.  I now receive an error message which reads - 'The iTunes Library file cannot be saved. An unknown error occurred (-50).  How do I correct this error?

    I upgraded iTunes to 11.  I now receive an error message which reads - 'The iTunes Library file cannot be saved. An unknown error occurred (-50).  How do I correct this error?
    Thanks
    TDB

    I know this doesn't help you Bud, but I've had this issue for at least the last couple of versions.  If I can ask, what is you enviornment like?  Local PC only, libray saved on another PC/Server? 
    In my case my library is on Windows 2003 server with the share mapped to drive M:  This has worked for many years through both XP and Windows 7 until and update a while ago. 
    Thanks,
    Rob

  • How can i display a image file which is placed in the applications server

    Hi all,
    Can any one help me how can I display a image file which is present in the application server.
    With regards,
    M.Ramana Murthy

    hi,
    *& Form TOP_OF_PAGE
    * text
    FORM F_TOP_OF_PAGE.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    IT_LIST_COMMENTARY = IT_LISTHEADER
    i_logo = Logo name
    * I_END_OF_LIST_GRID =
    ENDFORM. "TOP_OF_PAGE
    rgds
    Anver

  • ITunes Error Message 'The iTunes Library file cannot be saved. An unknown error occurred (-50).  How do I correct this error?

    iTunes Error Message 'The iTunes Library file cannot be saved. An unknown error occurred (-50).  How do I correct this error?

    I know this doesn't help you Bud, but I've had this issue for at least the last couple of versions.  If I can ask, what is you enviornment like?  Local PC only, libray saved on another PC/Server? 
    In my case my library is on Windows 2003 server with the share mapped to drive M:  This has worked for many years through both XP and Windows 7 until and update a while ago. 
    Thanks,
    Rob

  • How do I find the aperture image files so that I can attach them to an email

    How do I find the aperture image files? I know that you can email images from aperture. But how would I attach an image using Mail?

    if you mean to go into the Aperture library in order to get image files to print with Canon's software it's not really possible. The best you would be able to do would be to get the master image and if you're shooting RAW that will be the RAW file. In any case no adjustments you made to the image in Aperture would be available, versions don't exist as files until you export them.
    If you want to print with the Canon software you would export the image from Aperture and then print that image file.
    If I've misunderstood your question post back,
    regards

  • Removing the CORRECT iTunes files from a hard drive

    Help! Does anyone have any idea how to remove the old iTunes files. I want to delete them to free up space on my computer. I tried to move my library from this computer to a laptop. See below. I went through all the steps to move my iTunes library using my iPod. It didn't work. So now I have 2 versions of my iTunes library. I am afraid to delete the wrong one. I think it's just great(not) that iTunes will tell one how to "do something" but no one at Apple can tell one me how to undo it. This is an excerpt from "How to use your Ipod to move music to a new computer:
    Click OK. Note: Clicking OK will cause iTunes to copy all of your music files to another location on your computer. You will need to manually remove the files from their previous locations if you are concerned about space_. If your computer does not have enough hard-drive space this process will not work correctly. Please speak to your computer manufacturer or Microsoft for more information on how to obtain more space to perform this action.

    I downloaded audio files from a CD to an external
    hard drive. Now I would like to put those files in
    Itunes. I tried click and drag and cut and paste, no
    luck.
    What EXACTLY do you mean by you "downloaded" the files?
    Did you transcode them into a form iTunes knows about? (e.g., MP3)
    If you ripped them to MP3 or other compatible file format you should hust be able to drag and drop them onto the Music portion of your iTunes display. I do this hundreds of times a day - it's the logical equivalent of Add File or Add Folder to Library.

  • How can i upload a image file to server by using jsp or servlet.

    Hi,
    I m gurumoorthy. how can i upload a image file to server by using jsp or servlet without using third party API. pls anyone send me atleast outline of the source code.
    Pls send me anyone.
    Regards,
    Gurumoorthy.

    I'm not an applet programmer so I can't give you much advice there.
    If you want to stream the file from the server before it's entirely uploaded, then I don't believe you can treat it like a normal file. If you're just wanting to throw it up there and then listen to it, then you can treat it like a normal file.
    But again, I'm not entirely certain. You might be able to stream the start of the file from the server while you're still uploading the end of it, but it probably depends on what method you're using to do the transfer.

  • How to find desktop background image file

    I am preparing an old PowerBook G4 laptop to be sold. I had previously lent it to a friend and I am selling it to another friend. The friend to whom I lent it asked me for the desktop image file so he can use it as his desktop on the Mac he owns.
    I shot that photo years ago and I can't find the original .jpg for it, so I am hoping that I can find the desktop version of it before I finish preparing my PowerBook for sale. I have searched everywhere, but that image file does not show up on the PowerBook.
    I figure that since I can see the photo when I am logged in, it must be somewhere, but where? I originally had it in iPhoto, but it was deleted from there at least two years ago. This PowerBook only has one account, so there's not a lot of places to look through.
    If anyone has any pointers on how to find an image file on a PowerBook running Mac OS X 10.4.11, please let me know.

    HI Stanely,
    Try going to System Preferences/Desktop&ScreenSaver. Click the Desktop tab. Now, go thru the folders listed there to see if the image shows up there. If it does, then go to Spotlight and type in the name of the folder where the image was. Spotlight will populate a list for you. At the top of the list click where it says: Show All. A pane will open. Look for the folder, then on the right click the little white circle with an "i" in it. That will give you the path to find the folder where the image resides.
    You can search Spotlight by typing in these extensions: jpg tiff png pict gif bmp psp that's another way to search for an image.
    Also, open a Finder window and look in the Sidebar on the left. Click where it says: Pictures. Might be in there also.
    Carolyn

  • How to revert the maintainence image from 2.1(5) to 2.1(3) on NAM2 Module.

    Hi,
    Could some one please help me with the procedure or document on how to revert the maintainence image from 2.1(5) to 2.1(3) on NAM2 Module/
    As I am trying to upgrade the 4.0 software version on the nam.
    Thanks in advance.
    Regards
    Alex.

    I follwed this note only (Deploying Sun JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite 11i [ID 290807.1]) to upgrade my Jre -1.6.0_23 version .Use the same steps to downgrade to 1.6.0_20 (i.e. download the correct plug-in, issue "txkSetPlugin.sh jversion" with the desired version, ..etc).
    I given it to application team for testing they come back with some issues telling that some application and users unable to access so requesting to downgrade the JRE to 1.6.0_20 version.What issues? Have you considered upgrading to 1.6.0_24?
    Mismanaged Session Cookie Issue Fixed for EBS in JRE 1.6.0_23
    http://blogs.oracle.com/stevenChan/2010/12/mismanaged_session_cookie_issue_fixed_ebs.html
    Is it possible to downgrade ? Try the above, or restore from a backup (if you have one) which is taken before upgrading to 1.6.0_23
    Thanks,
    Hussein

  • How to get the most current file based on date and time stamp using SSIS?

    Hello,
    Let us assume that files get copied in a specific directory. We need to pick up a file and load data. Can you guys let me know how to get the most current file based on date and time stamp using SSIS?
    Thanks
    thx regards dinesh vv

    hi simon
    i excuted this script it is giving error..
       Microsoft SQL Server Integration Services Script Task
       Write scripts using Microsoft Visual C# 2008.
       The ScriptMain is the entry point class of the script.
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Runtime;
    using System.Windows.Forms;
    namespace ST_9a6d985a04b249c2addd766b58fee890.csproj
        [System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
        public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
            #region VSTA generated code
            enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
                Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
            #endregion
            The execution engine calls this method when the task executes.
            To access the object model, use the Dts property. Connections, variables, events,
            and logging features are available as members of the Dts property as shown in the following examples.
            To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
            To post a log entry, call Dts.Log("This is my log text", 999, null);
            To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
            To use the connections collection use something like the following:
            ConnectionManager cm = Dts.Connections.Add("OLEDB");
            cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
            Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
            To open Help, press F1.
            public void Main()
                string file = Dts.Variables["User::FolderName"].Value.ToString();
                string[] files = System.IO.Directory.GetFiles(Dts.Variables["User::FolderName"].Value.ToString());
                System.IO.FileInfo finf;
                DateTime currentDate = new DateTime();
                string lastFile = string.Empty;
                foreach (string f in files)
                    finf = new System.IO.FileInfo(f);
                    if (finf.CreationTime >= currentDate)
                        currentDate = finf.CreationTime;
                        lastFile = f;
                Dts.Variables["User::LastFile"].Value = lastFile;
                Dts.TaskResult = (int)ScriptResults.Success;
    thx regards dinesh vv

  • How to get the full image directory when i upload the image to web page???

    hai, how to get the full image directory when i upload the image to web page???
    here is the example:
    <form action="uploadfile.jsp" method="post">
    image<input type="file" name="image" />
    <input type="submit" value="submit"/>
    <%
    String s=request.getParameter("image");
    %>
    <%=s%>
    </form>
    i upload the image from C:\image\center.gif. i use request.getParameter just can get the image name like "center.gif". Can anybody help me how to get the full path name. Thanks a lot..

    There is no need to get the path. It is also fairly pointless as the server cannot access the client's local file system.
    Carefully read this article how you can upload files the right way: http://balusc.blogspot.com/2007/11/multipartfilter.html

Maybe you are looking for