Specified physical path folder opening using a href tag

Hi
I am working on some web application, i am trying to do open mentioned physical path folder in my html page.
but its not opening, same thing if i do simple html out side the specified folder drive is opening.
Follows code shows how i am doing in my html page.
link
so it should open D drive venkatesh folder. but its not opening if i deploy in tomcat server.
but if i do out side simple html its opening.
plz guide me.
THnaks
Venkatesh.

Oh, a directory. That would require a different approach, yes.
If you want to make use of appserver's default file browser and the appserver's directory index setting is turned on, then just add the following to server.xml:
<Context docBase="c:/path/to/folder/you/want/to/publish" path="/pathyouwanttouseascontextrooturl" />This way you can start with directory browsing by http://example.com/pathyouwanttouseascontextrooturl

Similar Messages

  • How to add external library in class path folder for use in Java call-out?

    Hi,
    I am working with Java callout component in OSB 12c using Jdeveloper.
    Thing is Jar what i am using to perform conversion of json to xml that using external libraries.
    When i have give reference of my project jar to java callout it doen't found external libraries.
    Could you please tell me how to add external libraries in class path folder or How to use to add it through web-logic server ?
    Thanks,
    Pavan

    Hi,
    Thanks, I have solved issue.
    We can add on following path in windows pc:
    C:\Users\your_usename\AppData\Roaming\JDeveloper\system12.1.3.0.41.140521.1008\DefaultDomain\lib
    One you add your external lib here then do restart weblogic server instance.
    Now, you have that external lib or jar in use.
    Cool!

  • How to get a value given to a button in HTML using a href tag

    Hi,
    In my application I have loaded  html  content  in WebView. In the HTML file i have used a Button to which i have given some value in href tag as
    <a href="ButtonClick//testing/mysample">
    <input type="button" value="Click me" />
    </a>
    When i click the button i want to get the string "ButtonClick//testing/mysample" in my app..  But i do not want to use InvokeScript() on my webview.. Could anyone please give me a solution for this?..
    Thank you.

    The only way to interact with HTML content from WebView is using JavaScript. You can do this by invoking such scripts from your C# code (using InvokeScript) or embedding the JavaScript method into the button you are working with.
    But you need to know that if you intend to get a return value from your JavaScript code, you would need to use the InvokeScript.
    Here's an example of printing the value from your hyperlink without InvokeScript. But note that it only prints the value and can't return the value to your C# code without InvokeScript.
    string htmlContent = @"
    <html>
    <head>
    <script type='text/javascript'>
    function myFunction()
    document.getElementById('myResult').innerHTML = document.getElementById('myLinkConent').href.substring(6); //remove 'about:' from href string
    </script>
    </head>
    <body>
    <a id='myLinkConent' href='ButtonClick//testing/mysample'>
    </a>
    <input type='button' value='Click me' onclick='myFunction()'/>
    <p id='myResult'></p>
    </body>
    </html>";
    Let me know if this helps.
    Abdulwahab Suleiman

  • Urgent.. How to open Particular folder direcly using File Browse tag

    Hi,
    I want to select a particular folder using file browsing option in html. why i want this is : i have to update the resumes located in a particular folder. so every time i am opening that folder which is a subfolder.
    ex: c:\dir1\dir2\dir3\Resumes
    Eveevry time , i have to go to C -> dir1->dir2-->dir3 then Reusmes
    what i need is when i click the browsing button, i want to get the Resumes folder directly. Is there any option to do that one by setting value to file tag.
    thanks in advance

    Hi venkatanarayanareddy (if that is your real name),
    You say you want to use file browsing option in html, which makes me guess this functionality is through a web page. Can you give us a bit more information about how this works as it's not abundantly clear how it relates to Java (JSP?).
    On another note (and I woke in customarily pedantic mood this morning), there's no need to post your e-mail address since [in the name of sharing the knowledge and not keeping answers to questions secret between the questioner and respondant] you will find responses posted here in the forum.
    Chris.

  • Can we  have a href tags in jsf page

    hi all,
    I tried inserting a link in jsf page using <a href> tag but when I click it, it is appending the link to contextroot.
    For Example:
    <f:verbatim>
    click here
    </f:verbatim>
    and when I click on it, I see http://www.google.com is appended to my application url after context root like
    http://localhost:9080/Ma/view/India/http://www.google.com
    and I get 404 error. how do I do it without having my application url.
    Thanks
    Ma
    Edited by: niki007 on Jan 12, 2009 4:32 PM

    This problem can occur if you didn't specify any protocol (http:// or https:// or others) in the link. But your example looks fine. I think that you modified the real code to this example, without being aware that you solved the problem yourself.
    At any way, you can also just use h:outputLink to render <a> elements.

  • Consistently does not open, gives the error: "C:\Program Files (x86)\Mozilla\firefox.exe Windows cannot access the specified device, path, or file. You may no

    Installed FF 16, 17, 18. Will not open in normal administrator login, nor with "Run as administrator" but will in W7 safe mode. Changed permissions (had to do it in W7 Safe Mode, normal login would not allow (logged in as an administrator) could not delete the Mozilla files in normal login. On rare occasions, with a new install, I could get it to open once, then not again. Searched the reg for any mention of Mozilla or FF and cleaned it. Tried FF safe mode, no luck. Checked permissions after taking ownership and propagating full ownership rights to all FF files, many reboots, no luck. Chrome, IE and SeaMonkey work fine. Using a fairly new install of W7 Professional 64 bit, on a Dell Optiplex 990 i7, 16GB ram. Had the same problem with another user on an identical box. No problem on other computers No other program problems.

    I should have been a bit more definitive.
    I have uninstalled FF, with the windows uninstaller, by manually cleaning the files and the registry of any mention of FF or Mozilla, and by running Revo uninstaller - always rebooting and checking to see if the files are indeed gone. (I have set windows file preferences to see all files, including system files.) I have run 4 AV/malware scanners and found nothing but a few tracking cookies. I download, from Mozilla.org, (http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/18.0/win32/en-US/Firefox%20Setup%2018.0.exe) a fresh copy of the Firefox Setup 18.0.exe each time and install when logged in as an administrator and choose "Run as Administrator". I get the same result each time I try to open Firefox. Consistently does not open, gives the error: "C:\Program Files (x86)\Mozilla\firefox.exe Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item." This happens even when I run the .exe file from the x86 program directory. I have also attempted to run in XPsp3 compatibility mode to no avail,
    I make the following assumptions:
    The system is not infected
    I am doing clean installs
    There is no existing trace of FF on the system
    I get identical results on one other W7 64 bit Optiplex 990 system with an i7 processor and 16 GB or ram.
    I CAN run in windows safe mode with networking.
    I have no other software or hardware issues.

  • What is the right way to set the physical path of a folder?

    I want to upload .PDF files using an Upload form on a JSP page which is located on the App Server. The .PDF files will be uploaded into the Web Server. The App Server and Web Server are on separate machines. My JSP page contains the path (eg: /apps/Server4/docs/Upload/) that should point to the physical folder on the Web Server. My problem is that I get an error stating that the folder cannot be found as the path was invalid. My question is, when I have this sort of setup, what is the right form of the physical path? Can you give me an example of a path that points from the App Server to the Web Server which sits on another machine. OR should I just install the Web Server in the same machine as
    the App Server? I was developing on a setup where both the Apps and Web Server was on the same machine
    and I didn't have this 'path problem'. The problem arise when the application was deployed onto our staging server. Why do I want to upload it onto the Web Server? This is because I need to view the .PDF files using Acrobat Reader straight from the server without downloading the .PDF file. I found out I couldn't do this if the .PDF files were uploaded into a folder which sits in the App Server.

    Well the problem is, as you have found out, is that the JVM is executing on the appserver which may or may not have access to the webserver. There no way (within your existing application) that you can tell the webserver to save the file, since the webserver isn't executing any code.
    So you have several options:
    1. You can have the application server and webserver run on the same physical machine. This obviously gives the application server access to the physical directory structure of the webserver. (Assuming that you set permissions correctly.) The disadvantage is that there are many architectural advantages (including security) that you would want to separate your webserver and appserver.
    2. You can NFS mount the webserver directory on the appsever box. This allows you to treat the webserver directory as if it was local. The downside to this is that you will have additional security concerns. (Exposing the webserver via NFS, firewall issues between the two servers etc.)
    3. Fix the MIME problem occuring when you serve PDF's from the appserver. You might have to write your own PDF serving servlet to do this.

  • Windows cannot access the specified device, path, or file when opening safari

    I am on a HP Probook 4520s and when I try to run the Safari executable I get the error message:
    "Windows cannot access the specified device, path, or file.  You may not have the appropriate permission to access the item."
    I have full control to the C:\Program Files (x86)\Safari folder
    Could someone please help?

    Hey All
    I have actually managed to find out what it is so thanks for any suggestions up to now.
    At work, we use McAfee AntiVirus.  Part of this is McAfee SiteAdvisor 3.5 for Internet Security.
    In Policy Catalog in the McAfee ePO system under SiteAdvisor, there is Hardening setting.  What this does is block any unauthorised browser from being able to run.  Safari, along with the likes of Opera and some others are automatically blocked by this.  Once you uncheck, to allow users to run Safari, it works fine.
    Here's where I found the answer:
    https://kc.mcafee.com/corporate/index?page=content&id=KB73943&actp=LIST

  • The specified file or folder name is too long,the url path for all files and folders

    The specified file or folder name is too long,the url path for all files and folders must be 260 character or less
    can we increase this limit?
    MCTS,ITIL

    Hi,
    As I understand, you want to increase the length of URL path in SharePoint 2010.
    Per my knowledge, this limit cannot be increased. SharePoint limits URL length because all relative URL links are stored in the clear forms on the SharePoint content DB and often this links are used as primary keys to link one table with another. Fields
    which are used to store these links (for instance tp_DirName from the AllUserData table) allow storing only 256 characters.
    There are several ways that you can resolve or mitigate URL length problems in the SharePoint Server 2010 environment. The following list provides suggestions:
    1. Upgrade all the end-user browsers to Internet Explorer 8, which has a longer URL length limit.
    2. Use shorter names for sites, folders, and documents and control the depth of the site and folder structures to reduce the lengths of URLs.
    3. If possible or allowed, use ASCII names for sites, folders, and documents. This will avoid situations where the URL will be lengthened by being encoded.
    4. To reduce the risk that the SharePoint Server 2010 end-users will encounter problems because of URL length limitations, we recommend that you apply the following effective limits in the deployment:
    256 Unicode (UTF-16) Code units - the effective file path length limitation, including a domain/server name
    128 Unicode (UTF-16) Code units - the path component length limitation
    More reference:
    http://technet.microsoft.com/en-us/library/ff919564(v=office.14).aspx
    http://sharepointknowledgebase.blogspot.in/2013/04/url-path-length-restrictions-in.html#.VKJN53BJA
    Best regards,
    Sara Fan

  • I am trying to update itunes but keep getting 'The feature you are trying to use is on a network resource that is unavailable - Click OK to try again, or enter an alternate path folder containing the installation package 'itunes64msi' in the box below'. ,

    I am trying to update itunes but keep getting 'The feature you are trying to use is on a network resource that is unavailable - Click OK to try again, or enter an alternate path folder containing the installation package 'itunes64msi' in the box below'.
    I am unable to install and also i cannot uninstall itunes, can anyone HELP PLEASSSSSSEEEEEE!!

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • On 10.4.11 Mac Mail I get this: Mail cannot update your mailboxes because your home directory is full. You must free up space in your home folder before using Mail. Delete unnedded documents or move documents to another volume. I can't open mail.

    On 10.4.11 iMac Mac Mail I get this message: "Mail cannot update your mailboxes because your home directory is full. You must free up space in your home folder before using Mail. Delete unneeded documents or move documents to another volume." I can't open mail to do this. I have reinstalled software but no effect. How do I get into Mail to delete?

    Found this on the "more like this" Worked like a charm!
    With the Mail.app quit and using the Finder, go to Home > Library > Mail. Copy the Mail folder and place the copy on the Desktop for backup purposes.
    Go to Home > Library > Mail > Envelope Index. Move the Envelope Index file to the Desktop.
    Launch Mail and you will be prompted to import mailboxes. Select OK and allow the import process to complete.
    After confirming all mailboxes were successfully imported and available, you can delete the copy of the Mail folder and old Envelope Index file from the Desktop and this should resolve the problem.

  • Working in Windows 8.1, trying to open Lightroom 3.6 64 bit, get the error message: Windows cannot access the specified device, path or file.  You may no have th appropriate permissions to access the item.

    Working in Windows 8.1, trying to open Lightroom 3.6 64 bit, get the error message: Windows cannot access the specified device, path or file.  You may no have th appropriate permissions to access the item.  I have changed the permissions to everyone and it doesn't work

    Any suggestions please?

  • Changing physical path in FILE TCODE using ABAP CODE

    Hi all ,
    I want to change physical path linked to logical path in TCODE FILE dynamically using ABAP program. Is it possible.
    If yes then how?
    Thanks for your help.
    Regards,
    Uday.

    s

  • When I try to open iTunes, I get this error message: Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item. I get a different error message if I try to uninstall it.

    When I try to open iTunes, I get this error message: "Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item." I've been able to uninstall all Apple products except iTunes as I get this error message: "The Installer has insufficent privileges to modify this file: C:\Program Files\i Tunes\Acknowledgments.rtf." I've had the iTunes on my laptop for a year and a half with no problems until now.

    Any suggestions please?

  • How to use P=name for Physical path name via t-cd:file

    Hello experts,
    I want to define physical path name using <P=name> for add-on programs.
    It is desirable to save files on another drive from SAP installed drive.
    I don't know which profile parameter can be changed.
    I'm afraid if standard logic wouldn't work when I change a parameter.
    I'm not sure, but DIR_TEMP doesn't seem to affect standard logic.
    What parameter should I use for add-on?
    Or can I create own profile parameter?
    Regards,
    Fukuhara Yohei

    In my detail block I have 10 rows displaying that may or may not have data after querying. To set the default value in the detail block, you have to set the index value of p_session.set_value. Since I don't know how many rows are already populated, I'm setting the default value to all 10 rows. Is there a better approach?
    Here's my code example, which I've placed in the additional PL/SQL section before displaying the form...
    DECLARE
    l_district_id VARCHAR2(7);
    BEGIN
    l_district_id := p_session.get_value_as_varchar2
    (p_block_name => 'MASTER_BLOCK',
    p_attribute_name => 'A_DISTRICT_ID');
    FOR i in 1 .. 10 LOOP
    p_session.set_value
    (p_block_name => 'DETAIL_BLOCK',
    p_attribute_name => 'A_DISTRICT_ID',
    p_value => TO_CHAR(l_district_id), p_index => i);
    END LOOP;
    END;

Maybe you are looking for

  • How do i find devices summary pane in itunes?

    i have restored my ipod touch 5G.  now i want to set up auto sync. 1) when the device is connected to my pc, the autoplay window is not popping up.  2) when itunes opens, the ipod device shows up in the upper right corner of itunes pane, but when i c

  • File adapter FTP to NFS

    Hi Experts, Right now we have our PI server installed on a windows machine. The files are available in a different windows machine but in the same network. So far we were using FTP to write or read files. Now recently we run into lot of problems in t

  • I need to download firefox 4.x I teach online and Firefox versions newer than 4.x are NOT compatable with the online teaching software (Blackboard).

    Please see this web site for more information about why Firefox 5.0 and 6.o will NOT work with Blackboard. http://www.centralaz.edu/Home/Academics/Online_Learning/First_Things_First_-_Getting_Started/Operating_System_and_Browser_Requirements.htm

  • ITunes don't open

    Open iTunes When I get the warning "iTunes has detected a problem and must be closed" because the Uninstall and install new but the problem continues. AppName: itunes.exe AppVer: 7.7.1.11 ModName: unknown ModVer: 0.0.0.0 Offset: f5f00000 please help.

  • Aperture upgrade

    I am thinking about getting Aperture 3 but wondering if Aperture 4 comes out does that mean Aperture 3 is useless or does it just get upgraded. I dont want to spend $100 or so if I have to buy a whole new one and have to get rid of the old regards Ra