Creating a link to text file in a tomcat server not working in JSP webapp

I am using netbeans to create an web application within my desktop, and then I load the build/web folder to a tomcat server to test the application. Everything works fine. However, when I try to link up my JSP pages to text files (.txt) create by the application on the server, I seem to be getting files that might be kept in a terminal.
When I get the Real path of the servlet context, I find that it is to a C:\ type file rather than a //hostname type of directory. So obviously those files are not being reached.
Does anybody know how to deal this problem?

There are a number of ways to get to the Flash Global Security settings dialog.
My favourite way is just to double click on a Captivate SWF (not the HTM file) to open it in a web browser, then right click on the playing screen to get the Flash context menu.  On the context menu, click the Global Settings option.
In the web page that opens, click the link on the left to Global Security Settings.
Add the folder or drive location of your published Captivate content to the Trusted Locations.

Similar Messages

  • Creating a link to a file on a Windows server?

    I am trying to create a link to a file located on a Windows server that I can email to users and they can click on the link and it will open the actual file.
    Here is what I have done so far:
    smb://server/sharedfolder/document.doc
    The user can click on the link but it just opnes up the "sharedfolder" and then you have to find the file you want and then open it and that works.
    I need the link to be able to just open the actual file.
    Is there a way to do this??
    Thanks

    Since it's a file download, there's no reason to add the target="_blank", I'm guessing your file is 404 for some reason which would give you a blank window per the target.
    Make sure the case structure of the file and link are identical. Servers are case sensitive, a server sees CheckIPApp.zip and checkIPApp.zip as totally different files. Your local OS sees them as the same thing so during local testing it will work, when uploaded, it won't.
    Make sure you've loaded the file onto the server at the exact location specified by the link. It should be in a folder called "Zip Files" that resides on the same directory level as the page that the link is on.
    You may also want to normalize your file names. They should be all lower case alpha-numerics without any spaces (use hyphens or underscores instead) and without special characters ($%&*). You can use DW's Files window to change names and DW will fix the links automatically.

  • Emailing a link to a file on an SMB server

    How do you create a link to a file on an SMB server, to send to other people (e.g. in email)?
    In a large corporation with mixed Mac/Windows network we use Samba to allow Mac OS X 10.6 to access the file servers.
    This works fine for basic operations such as browsing the servers, or copying files, etc. However, it isn't clear how to create a link to a file on a server, such that it can be emailed to people.
    Creating a link to a folder works ok, via this syntax:
        smb://servername/SomeFolder/AnotherFolder/
    When the email recipient clicks on the link (which appears by default as blue underlined), OS X automatically mounts the server as a local volume, and Finder  opens a window so that they can see the folder contents.
    But when trying to create a link to a particular file, via this syntax:
        smb://servername/SomeFolder/AnotherFolder/FileToShare.mp4
    It doesn't work. When the recipient clicks on the link, Finder appears to mount an empty fictitious volume called SomeFolder/AnotherFolder/FileToShare.mp4, containing no files. It is as if the URL parsing support for Samba links only supports referencing directories rather than individual files.
    By contrast, on Windows sharing a file can be done via this syntax:
         \\servername\SomeFolder\AnotherFolder\FileToShare.mp4
    And clicking on the link would automatically open the file (e.g. in whatever application is associated to play the video, edit the document, etc).
    Is there any way to create a clickable link to a file (not folder) on an SMB server?
    Matthew

    Thank you for trying to help.
    However, that utility does not solve the problem as far as I can tell. Regardless of whether the link text is typed in manually, or is 'snagged' via some utility, it still doesn't work in the case I was mentioning. All options in PathSnagger require that the drive is already mounted, as far as I can tell. And once it is mounted, PathSnagger generates the following strings for various options:
         Snag Path Windows:          \Volumes\servername\SomeFolder\AnotherFolder\FileToShare.mp4
         Snag Path Unix:               /Volumes/servername/SomeFolder/AnotherFolder/FileToShare.mp4
         Snag Path HFS:          servername:SomeFolder:AnotherFolder:FileToShare.mp4
         Snag Path File:          file://localhost/Volumes/servername/SomeFolder/AnotherFolder/FileToShare.mp4
    Note that none of these retain the original server location and protocol (smb://servername) because the volume is now mounted. As such, if emailed to another recipient, in general they do not work.
    Perhaps my original question was not clear. Is there any way to create a clickable link to a file (not a folder) on an SMB server, so that the link can be emailed to other people, and email recipient clicks on the click, the file is opened? (And server volumes mounted automatically as necessary)
    On Windows it can be done via a link such as:
         \\servername\SomeFolder\AnotherFolder\FileToShare.txt
    On Mac, the corresponding support for Samba URLs seems incomplete. A link such as:
         smb://servername/SomeFolder/AnotherFolder/FileToShare.txt
    does not appear to work even on the sender's computer, and even if the server is already mounted.
    The expected behaviour is that when a user (e.g. email recipient) clicks on the link, it should mount the server (if necessary) and open the file (in the example above, FileToShare.txt). Unfortunately, this does not seem to happen.
    Matthew

  • Link in a DVD menu to link to text files such as Word, Adobe PDF's ect

    Hello All
    Is there anyway to put a link in a DVD menu to link to text files such as Word, Adobe PDF's etc that are burned into the DVD?
    Hope someone can help me out.

    Is there anyway to put a link in a DVD menu to link
    to text files such as Word, Adobe PDF's etc that are
    burned into the DVD?
    Actually, you CAN'T with iDVD. You CAN put a variety of content into the DVD-ROM area, but that isn't accessable from any menu in an iDVD created DVD.
    If you use DVD Studio Pro, you have some ability to add the kind of links you ask about.
    F Shippey

  • How to create a tab-delimited text file?

    Hi,
    I need to create a tab-delimited text file at presentation server getting content from an internal table. My file should also have a header - also tab-delimited. Data for a header is stored in some work area.
    Any ideas how to add tab-delimiter into a text file? Or should I go for a HEX file and use
    CONSTANTS: c_tab TYPE x VALUE '09'.
    and separate my data with this constant instead?
    Any thoughts whould be appreciated.
    TIA
    Ivaylo Mutafchiev

    Hi Ivaylo,
    Refer sample code:
        IF i_final_head[] IS NOT INITIAL.
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
              filename                = lcl_filename
              filetype                = 'ASC'
              write_field_separator   = 'X'
            TABLES
              data_tab                = i_final_head
            EXCEPTIONS
              file_open_error         = 1
              file_read_error         = 2
              no_batch                = 3
              gui_refuse_filetransfer = 4
              invalid_type            = 5
              no_authority            = 6
              unknown_error           = 7
              bad_data_format         = 8
              header_not_allowed      = 9
              separator_not_allowed   = 10
              header_too_long         = 11
              unknown_dp_error        = 12
              access_denied           = 13
              dp_out_of_memory        = 14
              disk_full               = 15
              dp_timeout              = 16
              OTHERS                  = 17.
          IF sy-subrc <> 0.
            MESSAGE s000 WITH text-031.
            EXIT.
          ENDIF.
        ENDIF.
    Reward points if this helps.
    Manish
    Message was edited by: Manish Kumar

  • Wiki file attachments - can the wiki be configured to link to a file already on the server rather than uploading it into the page?

    Can the wiki be configured to link to a file already on the server rather than uploading it into the page? This would enable users to open (and edit) the original server hosted document rather than downloading a static copy that can't be edited and synced back into the wiki page.
    As a workaround I've tried attaching an alias to a file but it doesn't work - the wiki instead uploads the aliased file.
    From what I can work out, the default wiki behaviour is to upload a document to a wiki page, which creates a copy of the uploaded document in the wiki database. This copy has no connection to the original document. It can be downloaded and edited, but the edits are not saved back into the wiki hosted version of the document.
    I'd like to be able to upload a link or alias to a document (with preview please!) already on the server. A user could then preview the document or click to open and edit it.
    The only way I can do this at the moment is to create a link "afp://123.../doc.rtf" to the original. This is timeconsuming and confusing for non-technical users and doesn't offer the benefits of the attach function (ie document preview).
    Is there any way the wiki can be configured to link to documents already on the server using the attach functionality?

    An update for anyone in a similar situation.
    Patch 3944727 for 9.0.4.1 that solves this issue: "USER LOV IASM11SHIP EDIT USER LOV SHOULD SHOW THE NICKNAME ATTRIBUTE." However, the patch is mutually exclusive with the latest CPU's and there's no plan to merge the pacthes given the dwindling support for 9.0.4.1. So that patch is pretty much worthless.
    I've been told that this patch is included in newer portal versions, so the real solution is an upgrade.
    Trenton

  • All the links to download DREAMWEAVER CS3 Creative Suite are not working. How can I download the file ? I have a serial number of a purchased software.

    All the links to download DREAMWEAVER CS3 Creative Suite are not working. How can I download the file ? I have a serial number of a purchased software.

    They work just fine. whatever issues you have are specific, but without proper system info, browser info and other details nobody can even begin to guess.
    Mylenium

  • Text file import to sql server

    hello experts
    i am looking the best practise considering performance to import a text file to a sql server 2008r2. i have 1,500 files that need to be imported to sql server? thank you as usaual.

    efratb,
    SSIS would be an good option:
    http://www.codeproject.com/Articles/155829/SQL-Server-Integration-Services-SSIS-Part-1-Basics
    http://blog.sqlauthority.com/2011/05/12/sql-server-import-csv-file-into-database-table-using-ssis/
    in addition to ssis, you can also achieve the same thru bcp. check:
    http://databases.about.com/od/sqlserver/a/bcp.htm
    Thanks,
    Jay
    <If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'>

  • Power book G4 Leopard 10.5.8. File sharing preference checked but not working after start up until unchecked and the rechecked?

    I hope the title is enough info, please ask. In the mean time I have created an applescript to open preferences/ sharing and uncheck then check the file sharing box. This works but I would obviously prefer it just work normally. I have no corrupt preference files. Perhaps a file is missing? Thank you.

    Greetings Kwnez
    I'm not up to your level of expertise yet. I'm networking and file sharing too, on my Mac Powerbook 1.33 GHz PowerPC G4; OS 10.5.8 Lepoard. At the public library I found by asking the clerk a book Authored by David Pogue. "Mac OS X Leopard the Missing Manual". It (the book) has helped me ask better questions. I'm not saying that your question "
    Power book G4 Leopard 10.5.8. File sharing preference checked but not working after start up until unchecked and the rechecked?
    is hard for me to understand, I went to system preferences and looked at the sharing box. when I clik it it opens up and the first thing I see is my computers name, and under that i see, " Computers on your local network can access your computer at: ...-powerbook-g4-15.local"
    What I'm saying is "Are we on the same Page"

  • Allt he links in the header of any websites are not working, I reinstalled fiorefix and it s the same. No problem in others browser. the tool bar is working but not the link sinside the web page located between the top 300px height

    all the links in the header of any websites are not working, the cursor is not changing into pointer and no way to click on any link located at the top of any website page. I reinstalled firefox and it s the same. No problem in others browser. the tool bar is working but not the links inside any web page located between the top 300px height.
    So I can t tlog into any website, i cant write an email as the compose button is located in the top of the page.. Please help, i have all my bookmarks into my firefox...

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Why while in Bridge Load Files into photoshop Layers does not work?

    In Bridge, Tools>Photoshop>Load Files into Photoshop Layers does not work.  I have two images selected and when I execute that comman in Bridge nothing happens.  I exited and restarted both PS and Bridge and still nothing.  I am working in Windows 7 and Photoshop cs6.

    No I tried File/scripts/load file into stack and still did not work.
    There was an update to bridge and now it works.  Thanks so much.

  • Why does right clinking on link and selecting open in new tab does not work?

    Why does right clinking on link and selecting open in new tab does not work?
    It opens up a blank page. The only way to make the link work is to click on the navigation bar in the new tab and press enter to reload the link.

    Do you have that problem when running in the Firefox SafeMode?<br/> ''A troubleshooting mode.''<br />
    1.You can open the Firefox 4.0 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut. <br />
    2. Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut to open it again.''
    If not, see this: <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • PS CS3 not recognizing Raw Files and converters Ive downloaded not working..Why not?

    PS CS3 not recognizing Raw Files and converters Ive downloaded not working..Why not?

    Do you seriously think we can answer that with zero information from you?
    Please give us:
    Operating System/version
    Photoshop version number
    Amount of RAM installed
    Hard drive(s) free capacity
    Video card make and model
    Camera make and model
    Then describe what you have done so far and the symptoms you are seeing.

  • Command.text with ODBC escape sequence is not working in VC++, Bug in OLEDB ?

    Command.text with ODBC escape sequence is not working in VC++. The Code, which written in VB is working perfectly. Is there any different syntax in VC++ or bug in
    OLE DB provider ?. I am using OraOLEDB 8.1.7 version.
    Thanks
    Mani
    VB Code
    ' Enable PLSQLRSet property
    Cmd.Properties("PLSQLRSet") = True
    ' Stored Procedures returning resultsets must be called using the
    ' ODBC escape sequence for calling stored procedures.
    Cmd.CommandText = "{CALL corpuser.GetCorpUserRec(?, ?)}"
    Set Rst1 = Cmd.Execute
    VC++ Code (while execute it is giving error )
    pCommand->CommandText = "{CALL corpuser.GetCorpUserRec(?, ?)}";
    pRs1 = pCommand->Execute(NULL,NULL,adCmdStoredProc);

    Hi
    The odbc escape sequence for calling stored procedures works fine with VC++ also.
    You can check the sampe application at following url :
    http://otn.oracle.com/sample_code/tech/windows/ole_db/content.html
    Hope this helps
    Chandar

  • TS3899 Links contained within emails on my ipad do not work

    Links contained within emails on my ipad do not work - help please.

    Links contained within emails on my ipad do not work - help please.

Maybe you are looking for

  • Mail going to the Junk Mail folder but not marked as Junk Mail

    Hi, Hopefully someone can help me. It's something I had done but I don't know what I have done. All of a sudden all my emails from eBay are going directly to my Junk Mail folder, although when I try to click them as 'Not Junk' (Thumbs Up) they are no

  • Some Events Don't Show Up in List View on Calendar

    I love using Calendar on my iPhone 4S.  I like the List View, where I can everything I have for that day.  However, I've noticed a glitch:  some events which are on my calendar for that day when you view the day by tapping on the day of the month, do

  • Genrel ledger reports

    hi , can any one explain what r the reports can we get from FI_GL_4,FI_GL_6 and what r the reports we get from special ledger,general ledger. thanks in advance, pgs

  • Disclosing a selected af:showDetail component under an af:iterator

    Hi I am facing a problem with <af:showDetail> component. I am trying to generate multiple <af:showDetail> components under an <af:iterator> as shown below: <af:iterator var="row" value="#{mybean.list}"> <af:showDetail disclosedText="Show" undisclosed

  • Macbook Pro – Some Keys Not Working!

    Hi I'm running a 15-inch ( mid 2010 ) Macbook Pro with OS X 10.8.5. Some of my keys have stopped working. I've been throughout his forum but found nothing that helps. The 't' key sometimes does nothing and sometimes this... IORTUY other keys that don