404 status check for external website

Hi,
In my application, i want to check for some external website.
e.g. i have my own application and in that there is a link of some different website i.e. www.yahoo.com. I click that link and in case of 404 error, we should get some customized error page instead of "The page cannot be displayed"
Please let me know if there are any other information you want
~Aman

did you try simply to create the URL:URL yahoo = new URL("http://www.yahoo.com/");and see if this throws an exception or not?
If that isn't enough you could try the create a connection:java.net.URLConnection yc = yahoo.openConnection();greetz

Similar Messages

  • Bypass material D-Chain specific status check for a particular order type

    Hello All,
    For a material, I want to by-pass it's D-Chain specific status check for a particular order type.
    Currently when you enter the that material in the order, I am getting warning: Material XYZ has status: ABC hold
    I want to py-pass this warning message, how to do this? Can we configure this based on order type??
    Pls. help me.
    Thanks,
    Shreekant

    Hi Kapil,
    Threre are some material for which D-Chain status ( MVKE-VMSTA) in the materila master are set in such a way so that deliveries can not be created. We need to bypass this restriction for couple of delivery types. One of them is the delivery type used for intracompany STO.
    I am looking for some way out like user exit so that I dont need to change existing config change for those statuses.
    Regards,
    Subhankar

  • Disable duplicate email check for external candidate registration

    Hi,
    I am working with eRecruitment 6.0 and I would like to disable the duplicate email check on the external candidate registration page. Has anyone done this before? I have chased the code down to where it check for correct email syntax but I can't find where it does the duplicate email check. I debugged to where I was starting to see BP type function modules and bapis but I still can't find the check. I just want to turn it off for testing then turn it back on and test more. I have searched OSS and SDN and still no answers. I thought about using an enhancement point to 'ignore' the message but by the point the system has already decided not to create the user so ignoring the message is a mute point.
    Anyone been down this road and can point me in the right direction that would be greatly appreciated.
    Thanks!

    Hola,
    Ok a small 'enhancement' to  CL_HRRCF_ADDRESS_SERVICE->IS_EMAIL_UNIQUE has done the trick. Not exactly a best practice but will get me through this testing. NO this will not be going to production. This is strictly a test.
    Cheers!

  • Search Administrative status = Paused for:External request

    Hi all,
    I've got a strange issue in my SP2013 Standard Farm.
    The search service stops itself every night, the Administrative status is set to "Paused for:External request".
    Does someone knows why it happens and how to avoid it?
    Thanks

    For those who have the same problem, this is the powershell script I used to resume SP2013 search service:
    Add-PSSnapin Microsoft.SharePoint.PowerShell$ssa = Get-SPEnterpriseSearchServiceApplication –Identity "Search Service Application"$ssa | Resume-SPEnterpriseSearchServiceApplication

  • Headers for external website

    Hello,
    I am looking to make a header for an external website that
    would link back into my own. I'd rather not use frames if possible.
    For example, when you search for an image on Google and you choose
    an image, a header is shown giving you some options, along with the
    page the image is on. How do you make something like this, or what
    is that called? Thanks!
    Kris

    .oO(dehoney)
    > I am looking to make a header for an external website
    that would link back
    >into my own. I'd rather not use frames if possible. For
    example, when you
    >search for an image on Google and you choose an image, a
    header is shown giving
    >you some options, along with the page the image is on.
    How do you make
    >something like this, or what is that called? Thanks!
    Frames ...
    Micha

  • How can I disable automatic spell checking for specific websites?

    I'd like to disable automatic spell-checking for specific domains, such as programming-oriented forums. Is there a way to do this in about:config?

    See:
    *https://developer.mozilla.org/en/Controlling_spell_checking_in_HTML_forms
    You could create a Greasemonkey script to add a spellcheck="false" attribute or create a bookmarklet to add the attribute.

  • Search Crawl status = Paused for:External request

    Just checked my search crawl history and it hasn't run in a week.
    Saw another post that said it may be a Symmantec issue, but we're not using Symmantec.
    Thanks,
    Scott

    Curious if you're on at least SP2 or Infrastrucuture Update?  There were major changes to the search infrastucuture delivered in those releases
    http://blog.dafran.ca/post/2013/08/16/SharePoint-2010-Scheduled-Crawls-not-Running.aspx1) Stop the Windows SharePoint Timer Service
    2) Navigate to C:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config
    3) Go into the single folder in there that has a GUID type name.
    4) You see a whole bunch of XML files and a file cache.ini
    5) Copy all the XML files to another folder somewhere (for backup), then delete them but do not delete cache.ini
    6) Edit cache.ini to contain just the number "1" in the file - erase whatever is there and replace with "1"
    7) Restart the Windows SharePoint Timer Service
    8) You should see XML files being regenerated in the folder
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/26883a1b-13f8-4614-9552-e8ca910987c9/scheduled-crawls-not-running

  • Validation check for BP external id type and id number

    Hi,
    I need to validate the external Id type and Id no. ( from table BUT0ID) based on some conditions from the WebUI while adding a new id type and also during deletion of that id.
    I have found out 2 Badi's BUPA_IDENT_UPDATE, BUPA_IDENT_CHECK
    Will these BADI triggered from the WebUI ?
    What would be the other way to implement these checks for the Business Partner?
    Provide some possible solutions.
    Thanks for all your help.
    Regards,
    Shobhit

    Issue resolved by coding at UI level

  • Firefox "check for add-on updates" checks even when not selected, request website list for firewall blocking purposes

    I work for the Tech Department in a school district. Our student computers are locked down and all settings are reset after a restart. We have set firefox to always allow all add-ons to run and to never check for updates (we update them on a schedule we control). However, since the latest release, we have been prompted after EVERY flash AND EVERY java update that they are out of date and need to be updated. Having the students click on this every time for every affected webpage is no longer an option. We are also not interested in white-listing pages individually; instead, we would like to prevent firefox from finding the update server to prevent any further prompts.
    Please provide me with all of the websites/web addresses that "check for add-on updates" uses so we can block them at the firewall level.
    Thanks

    Part of the problem may be the recent flurry of required updates to FlashPlayer. As I understand it Mozilla took the exceptional step of blocklisting some of those FlashPlayer versions after fixes were released because there were known exploits in the wild.
    * See the blocklist
    * And flashplayers bulletins https://helpx.adobe.com/security.html#flashplayer
    Possibly you are having difficulty in keeping the software updated and so seeing valid warnings from Firefox. You appear (System info aside) to be posting using Firefox 34. The current Release is Fx35.0.1
    Possibly it would be worth you considering using Firefox ESR, that still has regular updates including backported critical security fixes, but the major version stays the same for longer and there are less frequent feature changes.
    * https://www.mozilla.org/en-US/firefox/organizations/faq/
    I will send links for a couple of other articles by Private Message.
    Steps that may be safe for an IT department may not be recommended for the average reader of this forum.

  • Any way to check for errors in an external table besides the log?

    For example if you have an external table where a column is defined with a CHAR(1) but when you run a SELECT on it, the mapping comes up with trying to put a CHAR(2) into that single space. The only way I'm aware to see if something is wrong is to check the .log file. Is there any other way to check for an error message or count?
    I'm mounting external tables and copying data over to a 'holding' table to be able to work on the data before it's moved into the actual production table with PL/SQ code. If the stored proc can determine what rows are bad or missing or even that there just are some rows with problems then hand back to the app, it would greatly improve things.
    Thanks.

    No other way than to check for the existance of a .bad file, then have a look see at the .log then?

  • Checking for status of a long-running BPEL process

    Hi experts,
    I have one BPEL process for originating customers' loan which usually involves various steps which takes around 15-20 mins to complete per instance. I would like to implement a user interface that can check the process's progress and display how it is going to the user.
    I have thought of using an asynchronous process that updates a global variable listing status of each step inside the process and use a poller to invoke another operation (like "checkStatus" operation) of this process to retrieve this variable and display the value to the users. It may be achieved by using "OnEvent" activity waiting for "checkStatus" operation. It will run in parallel with the main process, have access to the global variable and reply this variable immediately to the caller.
    It sounds like an idea in theory but invoking a web service operation for polling status is very heavy-weight and may impact performance during high-load.
    I am just wondering if there is other solution to this problem as I believe the status checking is a very common expected requirement in long-running BPEL process. What might be the best practice to implement this?
    Look forward to your responses.
    Thanks and regards,
    Edited by: Nghia Pham on Nov 5, 2012 4:48 PM

    Hi.
    I apologize for the slow reply. I am just back from overseas and did not have chance to go to the forum!
    Thank you a lot for your responses!
    The BAM looks like a suggested out-of-the-box solution. But it ties too much to Oracle API and will be hard to customise the way you want to interpret the status to end-users. If you want to display the process status with BAM in a web application interface, ADF is the only solution (please correct me if I am wrong). I would prefer a stand-alone, free of proprietary API solution so that we can build a screen that is technology-independent. As ADF UI is not our only supported view technology. For example, a PHP web client should be able to interpret the BPEL process status.
    Will really appreciate your suggested solution.
    Thanks and regards,

  • Performance check for status control table

    Hi,
    When ever we activate any ODS or delete the request ,a message 'Performance Check for Status control Table ' appears.
    What does it mean?Please explain what is status control table and how it performs?
    Thanks & Regards,
    Dinakar.

    Hi,
    This message is not a issue in itself. It is just a SAP message which means that the system is checking/updating the system tables to carry out the operation whether it can be done or not.
    If your loads are failing at this step or after this message there can be many reasons, check some of  the possible reasons below
    Performing check and potential update for status control table
    Update from PSA error in Process Chain
    problem in deleting request
    Reporting not available ,even if Data is sucessfully loaded into DT
    Hope this helps,
    Kush kashyap

  • Authorisation check for single status

    hi all
    i have a requirement which is like i have to maintain authorisation for single user status.right now we are able to do that for multiple statuses only,
    if i say i want to aply check for a single status like open only,how can i achieve that if possible.
    help will be appreciated
    best regards
    ashish

    Ashish,
    How are u doing that check for multiple status?
    where ru doing it?
    can u give some more details?
    Robin

  • Skype 7.10 application no longer able to log in any user, check for updates, or change online status

    Hello Community,
    Thanks in advance for looking into my problem report.
    First off, I'm running Skype version 7.10 (777) for Mac, on my MacBook Pro Retina running Yosemite 10.10.4.  I've been using Skype on this setup flawlessly for months.  Recently, after adding some more credit in advance of making an international call (which worked fine), I ran into a weird problem.  I can't be more specific about the initial problem, as I kind of dismissed it at the time, but it was some kind of error window from Skype regarding my attempt to add credit (which did work, btw - I see the updated balance and my bank account was debited as intended).
    Now however, I cannot use the Skype application in any way.  When I attempt to sign in - whether on my account (with the right password or a bogus password), or on another valid account, the application just displays the spinning balls graphic for several minutes and then reverts to the sign in screen.  After rebooting my Mac, I was able to use Skype again, but now it's back to this behavior after I quit Skype.  I've got a lot of work-in-progress right now and don't want to keep rebooting to try to get past this.
    Note that my account/credentials is clearly not the issue; I can use Skype from my iPhone 5S no problem, and from Skype web on the same Mac.  But the application itself on my Mac is DOA, whether using my account or another person's.  Even the Check for Updates just stalls forever.
    I have already downloaded the Skype app again and paved over the old one, and that makes no difference.
    I also trashed my Library/Application Support/Skype, and restored a copy from backup prior to this problem, but it made no difference.
    I've verified that my Mac firewall is not the issue - I've tried it with the firewall on and off without affect.
    If anyone has a clever idea - or knows how I can get some kind of diagnostic log about what the app is doing when it's trying to contact the mother ship - please let me know!
    Thanks again
    [Topic title updated by moderator to include version number.]

    I'll add that when I run devenv.exe with the flag /TFSLink, VS opens a Team Explorer window that contains the following text:
    An exception was encountered while constructing the content of this frame. This information is also logged in "C:\Users\<username>\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml".Exception details:System.NullReferenceException: Object reference not set to an instance of an object.   at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context)   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()

  • Skype application no longer able to log in any user, check for updates, or change online status

    Hello Community, Thanks in advance for looking into my problem report. First off, I'm running Skype version 7.10 (777) for Mac, on my MacBook Pro Retina running Yosemite 10.10.4.  I've been using Skype on this setup flawlessly for months.  Recently, after adding some more credit in advance of making an international call (which worked fine), I ran into a weird problem.  I can't be more specific about the initial problem, as I kind of dismissed it at the time, but it was some kind of error window from Skype regarding my attempt to add credit (which did work, btw - I see the updated balance and my bank account was debited as intended). Now however, I cannot use the Skype application in any way.  When I attempt to sign in - whether on my account (with the right password or a bogus password), or on another valid account, the application just displays the spinning balls graphic for several minutes and then reverts to the sign in screen.  After rebooting my Mac, I was able to use Skype again, but now it's back to this behavior after I quit Skype.  I've got a lot of work-in-progress right now and don't want to keep rebooting to try to get past this. Note that my account/credentials is clearly not the issue; I can use Skype from my iPhone 5S no problem, and from Skype web on the same Mac.  But the application itself on my Mac is DOA, whether using my account or another person's.  Even the Check for Updates just stalls forever. I have already downloaded the Skype app again and paved over the old one, and that makes no difference. I also trashed my Library/Application Support/Skype, and restored a copy from backup prior to this problem, but it made no difference. I've verified that my Mac firewall is not the issue - I've tried it with the firewall on and off without affect. If anyone has a clever idea - or knows how I can get some kind of diagnostic log about what the app is doing when it's trying to contact the mother ship - please let me know! Thanks again

    I'll add that when I run devenv.exe with the flag /TFSLink, VS opens a Team Explorer window that contains the following text:
    An exception was encountered while constructing the content of this frame. This information is also logged in "C:\Users\<username>\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml".Exception details:System.NullReferenceException: Object reference not set to an instance of an object.   at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context)   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()

Maybe you are looking for

  • Cannot Sync Photos

    After attempting to sync photos from iPhoto to my Touch, an error message pops up saying, "The disk could not be read from or written to". And while my touch is connected to my computer, it says there are 690 photos, but yet on the Touch itself it sa

  • Vendor Evaluation related

    Hi Experts During vendor evaluation which program gets hit. particularly delivery date related. In the selection criteria the proposed delivery date is from PO creation date  say if 5 days is the lead time, the PO creation date is 10.11.08 ,po releas

  • Help In Downloading Adobe Flash Player

    Everytime I try to download Adobe Flash Player I am told to disconnect Internet Explore; I've gone through the routine of Internet Options to allow a download but I still encounter the disconnect message.  Please help, what am I doing wrong as I down

  • Getting error when creat sales order and Stock Posting

    Hi I have created enterprise structure, xd01, mm01, ovkk but I count't post stock. When create sales order getting error is that 1.This material is not defined for sales area 1000, 10, 00. And if i use this T.Code MB1C, 2. Parameters for plant 1000 n

  • Problems with Subclassing

    We are using a lot of subclass objects in our forms development. One in particular is a Block called Header which we pick up from a Library.fmb form. Sometimes when I inherit this block, in FormA, from the library I can click on any of the items and