Networking techniques to explore the web directory.

Hi all,
I want to list all the file names present in a Web directory using URL methods. Can anybody suggest me how could i do this using Core Java APIs?
Thanks in advance!

Some web servers can be configured to list the files in a given directory if the URL points to that directory and there isn't any kind of default content. But that trick is being used less and less these days, it seems.
If the server doesn't want to provide a list of files (either automatically generated or written by a web designer) then a client can't force the server to do so.
If there are a bunch of example files on a site, you can try to see if the server will auto-list them. If not, you can use Google perhaps to get a list of the URLs.

Similar Messages

  • ACCESSING a file out of the web contex in JSP

    hi
    i'm a new JSP developer ius eclipse 3.2 environment and tomcat 5.
    i wanna include an html file from somewhere outside of the web directory (for exapmle "c:\test.html")with <jsp:include> ; but i cant!what shold I do?

    If you're going to be using a FileReader, piping the request through a servlet using FileIinputStream -> response.getOutputStream() seems the best option
    Putting it in a servlet means that you only send the contents of the file, without any of the extra carriage returns that can be included in a JSP.

  • How to publish edge projects to the web?

    I've never published edge projects to the web before.
    Sorted the web settings out to what I need but wondering but do I need to upload the whole edge project file (with the edge project, edge includes etc) or just the publish folder?
    Thanks
    Robyn

    Hi Robyn
    The contents of the publish folder is all what is needed to deploy.
    PS: the publish folder might have two directories, 'Web' and '.oam', depending on your publish settings. For publishing projects to Web, You only need (all the) contents of the 'Web' directory. If you have uncheked the CDN option in publish settings, then edge_includes directory will be available in Published content.
    I hope that answered your query.
    Thanks
    Manigandan

  • Sun x4170 ILOM - Can't get to the web interface 2 days after password reset

    Just bought a used x4170. I was able to get iLOM on the network and get to the web interface logon screen after setting the IP for it.
    I tried logging on but the password was not given to me. So I connected to the serial interface (rj45) from another machine and used putty to connect. Got to the preboot point and was able to reset the password to default, Rebooted.
    I was then able to log into iLOM. That was 2 days ago. Today for some reason, I can't get into iLOM. It pings but I can't get to the web interface. I get the IE error "cannot connect" or unable to connect or something like that.
    I'm completely new to this brand of server so consider me completely ignorant on all aspects of the hardware.......lol
    Thanks

    Hello
    By default, you connect to the server’s service processor (SP) using the out-of-band network management port (NET MGT). The ILOM sideband management feature enables you to select either the NET MGT port or one of the server’s Gigabit Ethernet ports (NET 0, 1, 2, 3), which are in-band ports, to send and receive ILOM commands to and from the server SP. In-band ports are also called sideband ports.
    You can refer more here : https://docs.oracle.com/cd/E19269-01/820-7959-11/820-7959-11.pdf
    If you want to use the NET MGT port of ILOM, then your output should display similar to below
    -> show /SP/network
    /SP/network
        Targets:
            interconnect
            ipv6
            test
        Properties:
            commitpending = (Cannot show property)
            dhcp_clientid = none
            dhcp_server_ip = xxxxxxxxx
            ipaddress = xxxxxxxxx
            ipdiscovery = dhcp
            ipgateway = xxxxxxxxx
            ipnetmask = xxxxxxxxx
            macaddress = 00:10:E0:65:2F:20
            managementport = MGMT   <<<<<<<<<<<<<<
            outofbandmacaddress = 00:10:E0:65:2F:20
            pendingipaddress = xxxxxxxxx
            pendingipdiscovery = dhcp
            pendingipgateway = xxxxxxxxx
            pendingipnetmask = xxxxxxxxx
            pendingmanagementport = MGMT    <<<<<<<<<<<<
            pendingvlan_id = (none)
            sidebandmacaddress = 00:10:E0:65:2F:21
            state = enabled
            vlan_id = (none)
    Hope this helps.
    Best Regards
    Bhavyesh

  • Does Apache in 10.6 support Web directory protection using .htpasswd?

    I am trying to protect a directory on my mac os 10.6 Web Sharing server using .htpasswd to no avail. I am creating an .htaccess and an .htpasswd file in the directory with what I think are proper configurations. Has anyone done this successfully? Am I missing something? Does the default setup in Snow Leopard allow for this? Is there a better way? Are these too many questions in a row?

    It was my understanding that one creates the .htpasswd file inside the directory that one is protecting, no?
    You can do that, but it's hardly recommended. Ideally the password file should be completely outside of the web directory since that makes it harder for someone to get access to it. If it's anywhere in the web directory tree then there's a chance that a remote user could get access to it (via some as-yet-unknown web server compromise) and there go all your passwords.
    .htaccess has to be in the directory it relates to, but .htpasswd can (and should) be elsewhere.
    and then created an .htaccess file alongside it with the entry shown in my original post.
    Sure, but that .htaccess file includes the path to the .htpasswd file to use for authentication.
    Just edit that line to the full path to your .htpasswd file.
    I'm not sure but I don't even see sever logs where I expected at:
    /private/var/log/httpd/access_log
    Under Apache 2 the logs are in /var/log/apache2/
    Also it appears that there are two apache2 folders:
    /etc/apache2/
    /private/etc/apache2/
    It doesn't matter. /etc is really a symlink to /private/etc. It's there mostly for compatiblity with unix apps that expect /etc.

  • The form cannot be submitted to the Web server either because your computer is offline or because the host server is currently unavailabl. If this problem persists, contact your network administrator.

    Hi,
    When the page is submitted for approval by using SharePoint OOTB Page Approval Workflow, it takes quite long time and prompt error message as below.
    "The form cannot be submitted to the Web server either because your computer is offline or because the host server is currently unavailable.
    If this problem persists, contact your network administrator."
    It only happens in Internet Explorer version 8 and 9. IE version below 8 is not used in environment.
    But it is working in Firefox.
    Please help me on how to fix this issue.
    Thanks.

    Hi Htet,
    Here are some articles with the same issue message, you can check the setting of Link Translation rule in the ISA from below.
    http://sharepointontop.blogspot.com/2012/06/form-cannot-be-submitted-to-web-server.html
    http://bytelab.blogspot.com/2008/03/problem-submitting-infopath-forms-using.html
    http://social.msdn.microsoft.com/forums/en-IE/sharepointcustomizationprevious/thread/84be34b3-b806-49ce-a5c2-b5ad8a1ff09f
    Thanks
    Daniel Yang
    TechNet Community Support

  • Safari Message: "Internet Explorer Cannot Display the Web Site" ?!?!?

    Safari is running strangely on my new MacBook Pro. It has decided to NOT automatically add .com
    when I type an address ..... THEN, when it can't find the website I get the message
    "Internet Explorer Cannot Display the Web Site". ***.
    Could the IE I am using when I'm using Windows XP (via Bootcamp) have corrupted Safari somehow?
    Ideas, please! Thanks.

    I found that the DNS settings in system prefs> networks > advanced had been mysteriously changed to something rather "foreign". An archive and Install solved the problem. Did your client happen to install a program called "Glim" (a Safari "enhancer"). That's our suspect.

  • I use internet explorer but mozilla dont work..always says if your computer is protected by a firewall o proxy, make sure that firefox is permitted to acces the web" i change the proxy settings but dont work..

    i can use internet explorer but i cant use firefox. when i try to conect to firefox say UNABLE TO CONNECT..
    # The site could be temporarily unavailable or too busy. Try again in a few
    moments.
    # If you are unable to load any pages, check your computer's network
    connection.
    # If your computer or network is protected by a firewall or proxy, make sure
    that Firefox is permitted to access the Web.
    == This happened ==
    Every time Firefox opened
    == 23 of july ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; HPNTDF; .NET4.0C)

    See:
    * http://kb.mozillazine.org/Error_loading_websites

  • I was referred to this site because Internet Explorer would not allow me to navigate to web page. Therefore the tech-support staff sugested I try your site to get to the web page

    upon logging into this program open road x3 from the site realeflow.com. I get a msg "navigation to web page has been canceled" so I contacted the tech-support staff. They informed me that in the past this problem has occurred with internet explorer, so they referred your site to me, as a option to get into the web page from their site. I have never used your site to get into a web page before. So I do not exactly know how this works??????????

    In Firefox 3.6.4 and later the default connection settings have been changed to "Use the system proxy settings".
    See "Firefox connection settings" in [[Server not found]]
    You can find the connection setting here: Tools > Options > Advanced : Network : Connection
    If you do not need to use a proxy to connect to internet then select No Proxy
    Another possible cause is security software (firewall) that blocks or restricts Firefox without informing you about that,.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox.
    See [[Server not found]] and [[Firewalls]] and http://kb.mozillazine.org/Firewalls

  • "Internet Explorer Cannot Display the web Page

    on August 7th
    I purchased a brand new computer that has
    Vista Home premium on it,
    To date I have not been unable to open this program.
    I have been looking for help ever since,
    I have been all over the net, I have tried
    Lenovo sites.
    I tried to call Lenovo, unfortunately I got no help there,
    as I am deaf.
    I looked through this site, in the hope that someone
    who might have experienced this can help.
    The Welcome center comes up when I start the Computer.
    when I click on Internet explorer this is what I get.
    Internet Explorer Cannot Display the web Page"
    Most likely Causes:
    *You are not connected to the Internet.
    * The web site is encountering problems.
    * There might be a typing error in the address.
    "What can you try"
    'Diagnose Connection Problems"
    I did this and this is what I got.
    Windows did not find any problems with this
    Computer's network connection.
    I tried more suggestions, and got more of the same.
    I tried everything that looks promising, to no avail;
    Please help if you can, it would be much appreciated;
    Regards
    Victoria
    Lenovo 3000 H210 53552p desktop
    Vista home Priemium 64

    Victoria,
       There are a few reasons that the error may come up. The first thing that I need to ask is when you say "I have been all over the net, I have tried Lenovo sites.', is this on the new computer? (i.e.. You are able to browse the internet, but get the error every time you initially launch Internet Explorer)
      If so, the likely issue is that the particular web site that your home page is set too is invalid or is encountering problems.
    Dennis

  • Can't access the web but can screen share and secure shell on my network???

    Hi,
    I don't know if this is relevant, but I installed a security patch along with a safari patch the other day and the next morning, I could not access the internet, however I can do things like screen share and ssh. I cannot however view internal websites on my network, whether I'm connected via airport or ethernet cable (attached to either time capsule or the modem directly). Whenever I try to go to a website in either firefox or Safari, I get a message saying I'm not connected to the internet and a "Network Diagnostics" button (which says it cannot fix my problem). Here is what I've tried:
    -Repair Disk (everything OK)
    -Repair Permissions
    -Restart computer
    -Turn Airport card off then on
    -Restart modem and routers, one by one in daisy chain order (and then restarted computer)
    -Tried different browsers
    -Tried connecting directly to modem via Ethernet cable in addition to wireless
    -Restored the System from a time-capsule backup from Sept. 6th (noticed the problem on the 10th)
    -Turned off my firewall
    -Created a new user account and tried it
    -Let my computer remain off for a half hour
    -Zapped the p-ram
    Here's what I've confirmed I CAN'T do:
    -Access the web via either Safari or firefox (haven't tried any other browsers)
    -Access the Software Update Server
    -My iCal calendars cannot access the webdav server
    Surprisingly, here's what I've confirmed I CAN do:
    -Ping other computers on my network
    -Use the Screen Sharing App. with computers on my network
    -Access the internet from every other computer on my network (4 of them)
    -ssh to other computers on my network
    I've been using my computer infrequently lately, and I'm not sure when the last time was I accessed the internet or for that matter when I performed the security patching, but I'm pretty sure it was within the last week and a half. I really don't want to try restoring from an earlier backup, but I'm reaching the end of my rope. Anyone have any other ideas? I'm fresh out.
    Rob

    The problem was either the Security Patch 2010-005 or the Safari update (though I don't have the version number in front of me). Note, I had ignored the iTunes 10 update. I assume that I must have miscalculated the date I performed the updates because the problem persisted after restore from a Sept. 6th backup off my time capsule.
    I went to the Apple Store and they were able to restore full internet access by performing a 10.5.8 combo-update. When we ran Software Update at the Apple Store, the 3 updates were again there available for download, but I am going to ignore them all because of this issue. The people at the apple store agreed that it was the update which caused the problem.
    Rob

  • The Web Dynpro Application 'Explorer' has expired

    hi,
    when I am trying to open the deployed content in the       
    Content Administrator in the sap portal I am getting the following error
    "500   Internal Server Error The Web Dynpro Application 'Explorer' has expired. Restart the application using the Refresh button or via the following link Explorer.
      Details:      
      No details available"
    what can I do?
    I have read here at sdn that I should increase the expiration time but where can I do this?

    Hi Thorsten,
    Close your explorer, open a new explorer and run the application from the new browser.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b52de690-0201-0010-c5a6-b4bde0a12e44
    <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_ep_sys/~form/handler">SAP Note Number: 519191</a>
    <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_fes/~form/handler">SAP Note Number: 856741</a>
    Regards,
    Mithu

  • I can no longer access the web on my IPod Touch through my home wifi network.

    I have an I Pod Touch with operating system 4.2.1.  It has worked fine the past year plus.  Suddenly, I can no longer access webpages on it.  When  try to load a website, looks like it is trying to open the page, but it never fully loads and times out. My I Pod indicates that it recognizes my wifi network and I have tried resetting both my I Pod and my router.  Weirder yet, I can access my Yahoo email on my I Pod and if there is a website link embedded in an email message, i can open it and access the page that way.  Any link on the web page opened through my email however does not work.  My home computer, which is on the same wifi network, is working fine.  The only thing that did occur recently was a power outage. 
    Please help - this is very frustrating.

    LTE indicates cellular. Tap Settings > Cellular then switch Cellular Data ON.
    If your Wi-Fi is working, then you should be able to access the internet.
    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    If that doesn't help, tap Settings > General > Reset > Reset Network Settings
    You will have to re enter your Wi-Fi password.
    * No data is lost due to a reset
    If nothing above has helped, try here >  iOS: Troubleshooting Wi-Fi networks and connections

  • After moving shared profiles to Windows 7/32 Pro PC, I can't access them from XP box mapped to the profile share (P:\Profiles...) after editing profiles.ini to point to the network share. I can edit files in the profile directory from XP.

    Previous configuration: Shared profiles located at D:\profiles\ on PC1 (XP Pro SP3). 2nd PC (PC2 also XP Pro SP3) mapped to \\PC1\Profiles via mapped drive P: and using absolute reference in profiles.ini on PC2. Remote profiles work OK on PC2.
    New PC added (PC7) to eventually replace PC1 (Windows 7/32 Pro). Profiles moved to D:\Profiles on that box. Firefox and Thunderbird work fine on PC7 with the local profiles. Profiles.ini edited on PC1 to point to the network share and will not access the remote profiles. Access permissions are set to full for everyone. I can write and edit to files in the profile directories from PC1.
    I tried adding a profile with the profile manager and tried to force it to use the network share, but it still located the new profile down in the default directory ...\application data\Mozilla\Firefox\

    Well, try this (I was able to fix my with these steps):
    Go Utilities > Disk Utility
    Select your Startup Disk, e.g. Macintosh HD
    Then, under the First Aid Tab, click Verify Disk Permissions.
    If there are errors, then click repair Disk Permissions.
    After it is done, restart the computer and see if your problem is resolved.
    I hope this help.
    Zeke
    www.ZekeYuen.com/blog/

  • PS CS4 64-bit (in Web Premium CS4) on Win 7 PC.  I did a duplicate file check on my hdd and deleted dup files. Now I get "Some of the application components are missing from the Application directory, Please reinstall.."

    PS CS4 64-bit (in Web Premium CS4) on Win 7 PC.  I did a duplicate file check on my hdd and deleted dup files. Now when I try to run PS 64-bit I get "Some of the application components are missing from the Application directory, Please reinstall the application." When I do this, it seems to install correctly until the very end, then it says "Installation Complete With Errors", and when I try to run I get the same 'component missing message'. What can I do? PS 32 bit runs fine. Some of the other applications ib Web Premium say the shortcut has been changed or removed. I appreciate your help...Thank you

    Best advice I can think of is to uninstall and run the Clean Script from here.
    Adobe - Adobe CS4 Clean Script

Maybe you are looking for

  • How do I set the default printer to pdf in Firefox 8?

    Wish to set default printer to PDF, in specific folder. Always tries to print to .ps in my home folder. Using Linux, Fedora 16. I have had the same problem in Fedora 14.

  • Excelsius purchase

    Hi, We are in the process of evaluation for Enterprise business reporting and as of now we have SAP ECC for  transactional and BI as data ware housing tools. We are very much interested in Excelsius to connect with SAP BI and other non SAP datasource

  • Tabbed Panels: Opening panel with panel number doesn't work with Spry Data

    I have some data inside a TabbedPanelsContent div, and would like to be able to open tabs using links, but it only seems to work with static content. Clicking on tabs themselves loads content correctly, whereas clicking on links does nothing. I tried

  • Requirements are not fulfilled for condition EDI1

    Hi Gurus, We are trying to add (EDI1 confirmed qty) in the PO item conditions. We are using the standard PO schema which has these condition type. It has no access sequence attached to it and hence it is a manual entry. If we try to add that conditio

  • How to remove messages data

    My iPhone 4s is running low on starage space. When I go to usage in the settings it says my messages is using 5gb of data storage. My emails are empty as are my text messages. How can I remove the data that the messages service is stroring? Thanks.