Hyperlinked file opens with junk values

Hello Guys,
I am Developing a portal where in people can upload files to different categories. So, there is no problem with uploading.
So, next time when want to view the file list i am just adding the upload directory as a hyper link to the text displayed something like this.
<td class="td"><a href="javascript:void window.open('DocumentPolicies/<%=(String)dV.get(1)%>','Document','200','200')">DummyDocumentFileSubject
</a>
</td>
so, this displays DummyDocumentFileSubject with a hyper link and the specified document name will be opened in a seperat window.
The problem i face is that if it is a word document it some time opens inside the browser itself some time it opens with some junk values.(Even MSWord installed on the client system).
The file type may be different some times .pdf .jpg, .dwg,.apc.etc.
My client wants to view it on the browser.
Or if in case i am doing it wrong. please correct me.
can anybody help me on this.
thanks in advance
regards,
dina

Yes, it looks like you are not setting the appropriate content type to the file extension.

Similar Messages

  • Hyperlinked files open with Pro even though Reader is default PDF application

    Hello.
    I have a Windows 2008 x64 Server that I have installed both Adobe Pro X and Adobe Reader X on. I have installed Pro first, then Reader, both with MST files, so that Reader is the default PDF viewer. Reader shows as the default program and if you double click on a PDF document, Reader does indeed open. However, if a hyperlink in Word or some other document points to a PDF file, Adobe Pro opens instead. I need to make Reader the default application for all references to PDF files, but I need to keep Pro and Reader installed on the server at the same time.
    Any help would be greatly appreciated.
    Thanks,
    John

    That was always set correctly.  However, I did uninstall and reinstall Reader with a newer patch.  It seems to be the default for even embedded PDF files now.  The new problem is Reader now asks for the user to select a language before opening, but it does this only with embedded pdfs.  Double clicking on an actual pdf file opens Reader with no issues.

  • Hyperlinked files opens with Pro even though Reader is default PDF application

    Hello.
    I have a Windows 2008 x64 Server that I have installed both Adobe Pro X and Adobe Reader X on. I have installed Pro first, then Reader, both with MST files, so that Reader is the default PDF viewer.  Reader shows as the default program and if you double click on a PDF document, Reader does indeed open.  However, if a hyperlink in Word or some other document points to a PDF file, Adobe Pro opens instead.  I need to make Reader the default application for all references to PDF files, but I need to keep Pro and Reader installed on the server at the same time.
    Any help would be greatly appreciated.
    Thanks,
    John

    Hi,
    Could you try re-setting the default PDF handler to Adobe Reader 10.1.2 again and see if it helps. You can do the same by:
    1. Launching Reader.
    2. Goto Edit > Preferences > General
    3. Click on "Select Default PDF Handler" and chose Reader. If its set as Reader initially, try switching it to Acrobat and then back to Reader again, to remove any incorrect associations on your system.

  • Nokia 3500 classic - .rms files created with junk ...

    I have purchased a Nokia 3500 classic in July 2008. I am using 1GB memory card and installing applications on it.
    Recently I found that though my memory card's capacity is 1GB, the space utilised was shown as 3.4GB. I was stunned. Then I opened the memory card in computer via usb cable and found that there are lot of .rms files created with junk characters file names and i am unable to delete the files. The only option left to me was format the memory card and I went for that. After formating, I again installed three applications and again i found that the file size of the application itself is increasing by some KBs.
    I have scanned it but no virus found.
    Why this is happening and what is the solution for it. Please help.

    it are the settings of the app(i think) so thas what thay are and the junk charecters make it hidden for EVRY SINGLE FILE MANAGER FOR J2ME(cell phone app)
    vinayshah wrote:
    I have purchased a Nokia 3500 classic in July 2008. I am using 1GB memory card and installing applications on it.
    Recently I found that though my memory card's capacity is 1GB, the space utilised was shown as 3.4GB. I was stunned. Then I opened the memory card in computer via usb cable and found that there are lot of .rms files created with junk characters file names and i am unable to delete the files. The only option left to me was format the memory card and I went for that. After formating, I again installed three applications and again i found that the file size of the application itself is increasing by some KBs.
    I have scanned it but no virus found.
    Why this is happening and what is the solution for it. Please help.

  • Camparing file name with a value of the field in the source

    Hi All,
    I have a file sender. I need to compare the file name with the value of a field in the source and then map to the target.
    For example:
    <Record>
         <Date>20071103></Date>
         <name>abcd</name>
    </Record>
    the name of the file would be 20071103. i need to check this file name with value in 'date' field , if its true then we need to map it to target
    please suggest some way to meet the reqirement
    thanks
    jhansi

    Hi,
    Here is the reason i need to do this:
    The data is loaded by DTP in process chain. Overlaping requests are deleted. But, iIn some cases requests with the same selection options  need not to be deleted. My idea was to change selection options in Manage(infocube) with Abap program without changing selection options in DTP filter,  so that the system would not recognize requests as "overlaping requests".
    So, where is the information about shown in the field Selection Options is stored? In which tables?
    Thanks
    Tigr_Z

  • What does the error - file open with write privilege mean?

    When exporting an iMovie, I received the error message, file open with write privilege - what does that mean and what causes it?

    Hi
    Error -49
    Error -49  opWrErr  File already open with write permission
    Trash the preference files while application is NOT Running.
    Yours Bengt W

  • How change the File Open With list of apps?

    In Bridge CS3, how does one edit the list of applications in the File > Open With menu (also available from the contextual menu for any image).
    The list contains a number of applications that I would never use to open an image, and I would like to add to it, a new image editor (pixelmator) that does not appear in it. I have looked in the Bridge Help and the Preferences dialog and don't see any option to do this.

    OK, I have now learned that Mac OS keeps the list of which apps to open what, in the "launch services database."
    This database can be cleaned up and reset which somewhat simplifies the list that is displayed by the Finder OR by Bridge CS3.
    Here is an article on how to reset the launchdb:
    http://www.macosxhints.com/article.php?story=20031215144430486
    Be sure to read all the way to the end as there are updated instructions down among the comments.
    Here is a thread in the Apple Support forums discussing the same issue, and it includes links to some 3rd-party programs that can reset launch services without use of a lengthy Terminal command:
    http://discussions.apple.com/thread.jspa?messageID=1289317
    Even after rebuilding the launchdb, I find that a large number of apps are "registered" to open JPG files, including Camino, Opera, TextWrangler and others with only a tenuous connection to JPG. I don't understand why this is, and I would still like to find a way to limit the JPG Open-With list to a few graphics programs. But cleaning up the launchdb as described in the linked pages, did get rid of some programs and added some missing ones.
    Hope this actually constructive info is useful to others.
    Dave Cortesi

  • CC14, all files open with asterisk in file name.

    CC14, all files open with asterisk in file name, need to save or cancel to close file. Is there a way to change that?

    No. It happens to any InDesign file. I created a new file in CC14, saved, closed, opened and it had the asterisk.
    If it is a time synchronization, how do I correct that?

  • Flash files open with no timeline

    I just uprgraded my Mac OS from 10.4 to 10.6. Now some of my Flash files open with no timeline and nothing on the stage. If I try to open a library item it crashes. I tried reinstalling Flash and installing all updates to the OS… no luck. Help!

    I was able to open it on an OS 10.3 machine. After deleting the preloader from the stage, the fie works again on a 10.6 machine.

  • Raw files open with adjustments..

    Hello!
    I am having trouble with RAW files in Lightroom, and also camera RAW.
    When I import a RAW file into Lightroom (i have the current version, 3.5) Lightroom adds adjustments to the file, for example in the basic section of the develop module exposure will be set to 0.25, recovery will be at 100, contrast 54 etc...
    I have tried shooting on different cameras and I do not have the problem. I have put the same RAW files into another computer with Lightroom and it works fine. Just seems to be a wierd combination of my camera and my computer.
    Everything was working fine, and I recently purchased a new camera, and still everything was fine. Then one day it started adding adjustments to the RAW image automatically. And the same when I open a file in camera RAW..
    Any recomendations on what to do/how to solve the issue??!
    Thanks!!

    In LR Develop module go to Develop tab>Set Default Settings...>click Restore Default Adobe Settings. This will put you back to square one in LR
    In ACR at the right end of the Basic panel header is a little triangle. Click on this and at the bottom of the dropdown list click on "Reset Camera Raw Defaults".
    Rich
    P.S. In each case you will need to open a file from the camera giving you the problem then reset with the file open. This goes for both LR and ACR.

  • Jar files opening with RAR, WHA????????

    Ok, I was trying to Hic get a great java3d platform game (brutal file manager) to load.
    I tried again, exept now, the jars open with winrar!
    I found my main class problem, I extracted all the files with the class, but it does me no good because I CANT EXECUTE IT!
    How can I execute these again?

    So you apparently changed Window's file associations to have java.exe open .jar files? Right?
    How are you trying to start the game - what is the command you use? Do the game instructions tell you how to start it?
    The error message "Cannot find the main class, program will now exit..." means that the jar is not intended to be an executable jar and is without a main class file. It could be caused by a mis-configuration of the game, also. . .
    More definite information iis needed.

  • Why does a my layered Illustrator file open with only one layer, when opened by someone else?

    I am using CS6, as is the other user.  When they open the file in Illustrator all the artwork is on one layer, even though the original file has numerous layers, and opens with these layers when I open it even now.
    I have never come across this problem before in all the years I have used Illustrator and have had no joy when trying to search for this problem.
    Any ideas or help would be greatly appreciated as it is confusing us!
    Thank you.

    Hi Mike, Wade & Larry,
    Thank you so much for your replies.
    Since I posted this issue, I was later informed that the other user is infact opening my files with CS5 and so a quick solution to this was saving it down to a previous version! Sorry for the confusion!
    This problem then becomes clear that it was a version error, but I have always had an error message come up if I try to open something that was created in a newer verion - is this no longer the case?
    I have been assured no pop up messages appear when opening the file which I find odd, and also that this layer compression has only just started happening even though many files have been back and forth previously.
    A little mystery! At least for now it is all working ok again
    Thank you all very much, greatly appreciated.

  • Is there a way to disable files opening with one-click?

    This is driving me crazy! I thought previously the problem was "magic mouse" but now that I've gone back to my old mouse, the problem persists. If I select a file in a finder window, it opens with one click. Also, if I try to edit a file name or even the question I've written above, I can't just insert the cursor and replace 1 letter. It picks the whole word, then the whole sentence. I never had this trouble before updating to the lastest and "greatest" snow leopard.

    Are you using a wired mouse, if you are then go to sys prefs/mouse and change the double click speed.

  • .zip files opening with iTunes

    When I double-click a .zip file, it opens in iTunes. How do I get it to unzip?
    Thanks

    Welcome to the forums!
    Highlight the .zip file, do a Get Info on it, look for the Open with triangle, select Othere, find BOMArchive Helper in...
    /System/Library/CoreServices/BOMArchiveHelper.app
    Stuffit will work too, then click the Change All button.

  • How do I make file 'Open with...'?

    I have been working on graphic files. I want to open my graphic files in Photoshop Elements. It is possible to change the 'open with' option by going to Get Info... and selecting 'open with'...But, that only allows you to open a file with a particular application until you make a change in the file, then after that, it will continue to open with Preview. I want to change the 'Open with' to be permanent, at least until I want to change it. How do I do that?

    Right click the file, select Get Info. Scroll down the lefthand side bar to Open With, select PhotoshopElements to open the file and click the button marked Change All.

Maybe you are looking for