About MIME type

hai friends , i am learning webstart, i want to set mime type in server i know the mimetype buti dont know hot to set the MIME type in webserver so is anybody knows please answer for my query
thanks

Sorry, Google doesn't know about SATRTO webserver. I guess that means it doesn't exist...
I have been able to find a german hosting provider called Strato, is that what you mean? In that case, it looks like a LAMP server, so I guess you should be able to do it with the instructions in the Java Webstart guide for Apache httpd: http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/setup.html Otherwise, you'll have to contact your provider or the creator of the server software you use.

Similar Messages

  • How can I use one Add-on prior to another for specific MIME-types?

    I'm using Shockwave Flash plugin to watch some videos on YouTube, StreamCloud, etc. It also handles .mkv and .mp4 files/streams. After installing VLC Web plugin to handle MIME-types like mp3/4, mkv additionally and prior to the Flash plugin, Firefox keeps using Flash to handle those types insted. I cannot find options to set the desired priorities. Only disabling the Flash plugin solves my problem, but also keeps me from watching Flash contents, which Is not acceptable.
    Did I miss something or is this Firefox's fault?

    If you type or paste '''about:plugins''' in the address bar and press Enter, you can see which plugins are associated which various content types.
    I do not know how to prioritize one over the other for the same content type if the plugin settings (plugins often have an interface outside of Firefox to adjust their settings) do not allow that.
    As for MP4, I don't think Flash normally would be selected. I suspect the website is specifying a Flash media player and streaming the MP4 through that. If you want to hide the Flash plugin from a particular website, you can use the Permissions tab of the Page Info dialog.
    Click the padlock or globe icon in the address bar, then More Information, then Permissions. The top section of the Permissions panel should be "Activate Plugins". Here you can select Block for Flash for the current site. After reloading the page, does the media play using a different plugin?

  • How to restrict uploading files by mime type?

    Hi,
    I have been searching the forum (and Google) looking for tips on how to ensure users can only upload files of specific formats (Word, PDF, etc) for specific document types as defined within the application (e.g. Curriculum Vitae (Word), Copy of Transcripts (PDF)).
    While I have used this research to start work on a server-side solution, I would like to know if there is an apex-friendly way to "validate" a file-browse item based on mime-type.
    Has anyone else had to address this?
    Ted

    Hi,
    I would like to know if there is an apex-friendly way to "validate" a file-browse item based on mime-typeHow about, you create a check constraint on your MIMETYPE column. something similar to this:
    alter table "MY_TABLE" add constraint
    "MY_TABLE_CON" check ( "MIMETYPE" = 'application/pdf' or "MIMETYPE" = ......)Or you can use this plugin, provided using browsers supporting HTML 5:
    http://www.theapexfreelancer.com/apex/f?p=APEXFREELANCER:FILE_UPLOAD:0
    For friendly,
    Please check error handling :
    http://www.inside-oracle-apex.com/apex-4-1-error-handling-improvements-part-1/
    Best Regards,
    Fateh

  • Gnome: mime types, file associations and defaults.list

    I installed the new Gnome 2.8 during the weekend and now my file type associations is completely bloated. The mime system is intact - Nautilus recognises files properly. However, Nautilus doesn't know which applications to open a specific file with. I have read other posts and found useful information, but not the solution.
    This post in FedoraForum gave me a hint to what's causing the problem:
    http://fedoraforum.org/forum/showthread … post127530
    It seems that the file defaults.list is missing from /usr/share/mime/applications. Apparently this file contains the associations  between applications and mime types. I have not be able to find out which package should provide this file or how to recreate it. Can anyone help - maybe provide the name of the package that provides this file?
    Thanks,

    Yeah, I got tired of Evolution not knowing about opening *.docs in openoffice.  After several hours of research, the key is the /usr/share/applications/mimeinfo.cache,  /opt/gnome/share/applications/mimeinfo.cache, and the MimeType fields in the *.desktop files.  The mimeinfo.cache in /usr was empty and the /opt one had gthumb and other apps but no OO:
    [MIME Cache]
    application/x-gnome-stones=gnome-stones.desktop
    image/jpeg=gthumb.desktop
    application/postscript=ggv.desktop
    ...snip...
    That's a lot of blather to say that the fix for Evolution/OpenOffice was to add the proper MimeType entry to /usr/share/applications/ooo645writer.desktop:
    MimeType=application/vnd.ms-word;application/msword
    and then run "update-desktop-database".  Problem solved.
    Another problem is that within Evolution it says an attached doc is a "application/msword" and not a "Microsoft Word Document".  Unfortunately this is because freedesktop.org decided to use application/vnd.ms-word instead of application/msword like the rest of the world.  If you check the vnd.ms-word entry in /usr/share/mime/packages/freedesktop.org.xml it defines an alias msword but the new mime system doesn't appear to recognize aliases yet.  The solution I used was to rename the entry to msword.  Another possible solution might be to remove the msword alias from the vnd.ms-word entry and create a new msword entry based on the vnd.ms-word one.  Then run "update-mime-database /usr/share/mime".  Hope that made sense.
    I think the defaults.list is part of the previous GNOME MIME setup cause I don't have one and I'm not experiencing any problems.  For other apps check for the associations in the mimeinfo.cache's and if missing add the MimeType's to the app's *.desktop.

  • How to use mime type..

    Hi frnds
    i have my data in a tabular format in jsp. my requirement is to create a EXCEL report for tht data using javascript (using MIME type change).
    can anyone help me to create xl report.

    Please search the forums. There are many discussions about it.

  • MIME type issue in version 4.1/4.2 Compatibility Mode

    Problem: when displaying a PDF file, it displays OK as PDF if APEX 'Compatability Mode' = 'Pre 4.1', but displays as HTML when in either '4.1' or '4.2' mode.
    Apex: 4.2.2.00.11
    DB: 11gr2
    Web server: Apache on Linux
    More detailed description... this seems to be a MIME type issue related to APEX (or maybe DB) versioning.  The following code works as expected when run in 'Pre 4.1' mode - ie. it displays an appropriate PDF document in the appropriate Acrobat/other plugin in several browsers (Firefox/Opera/Chrome/IE).  But just by changing 'Compatability Mode' to '4.2' (or even '4.1'), it then downloads the file but displays it as a bunch of random characters, and the web page header MIME type is 'text/HTML'.
    Note: this also happens with other file types such as xls/doc/etc, but I expect fixing PDF should also fix these.
    I'm at a bit of a loss as to where this is happening, it seems there is a difference in the 'Compatibility Modes' between either the creating of the HTML header using 'OWA_UTIL.mime_header' or the component path it traverses before reaching apache.
    The only other thing I could think of is that we do a bit of redirection to display the PDF, though this seems like it might be a red herring.  Basically we use page 560 as a container, and then display the PDF with page 561 within a frame embeded within page 560.  So, on the page 560, which is the one we reference throughout the application, we have  a region with a source of '&lt;iframe src=?p=&APP_ID.:561:&SESSION.height="500" width="700"&gt&lt;/iframe&gt</pre>'.  Then on page 561, in a 'On Load - Before Header' process, we make the call to the code 'DOWNLOAD_APPLICANT_PDF' (below).
    Note: I did try calling 'apex_application.stop_apex_engine' after 'DOWNLOAD_APPLICANT_PDF', as suggested in a couple threads, but it didn't fix the problem, and caused a couple low-level system errors.
    Code:
    <pre>
      CREATE OR REPLACE PROCEDURE DOWNLOAD_APPLICANT_PDF ( p_doc_id IN   NUMBER
       AS
          v_length      NUMBER;
          lob_loc       BLOB;
          l_display_inline   CHAR := '1';
       BEGIN
          SELECT pdf_data, DBMS_LOB.getlength (pdf_data)
            INTO lob_loc, v_length
            FROM pdf_dest
           WHERE pdf_dest_id = p_doc_id;
          OWA_UTIL.mime_header ('application/pdf', FALSE);
          HTP.p ('Content-length: ' || v_length);
          HTP.p ('Content-Disposition:inline;filename="mydoc.pdf"');
          OWA_UTIL.http_header_close;
          WPG_DOCLOAD.download_file (lob_loc);
    END;
    </pre>

    Hi,
    for some background information about the above changed behavior, have a look at 4.2 Before Header Processes and Browser Security HTTP Headers of the APEX 4.1. release notes.
    Regards
    Patrick
    Member of the APEX development team
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • After adding MIME type in sharepoint server, file click opens a popup for file to open as readonly or edit, How to avoid this popup

    After adding MIME type in sharepoint server,
    File click opens a popup for file to open as readonly or edit, How to avoid this popup
    Popup Details:
    You are about to open --> File Details
    How would you like to open --> ReadOnly, Edit
    OS: Window 7
    Jagadish

    this is likely caused by the library requiring check-out/check-in. For a file to be editable, the file needs to be checked out.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Safari cannot find the Internet plug-in (MIME type...x-shockwave-flash)

    Well, YouTube and other flash sites worked fine just until today. So I get this message :
    +The page “YouTube - Meet Single File” has content of MIME type “application/x-shockwave-flash”. Because you don’t have a plug-in installed for this MIME type, this content can’t be displayed.+
    I've already tried Disk Repair to repair the permissions, installed, re-installed Flash Player and Shockwave Player and nothing yet. System preferences with QuickTime Advanced Panel to enable flash and the other miscelaneous one I unchecked, the normal procedure, I guess. Also checked the libraries to see if I didn't have the plugin in two libraries, but i'm not sure about the library/plugin issue.
    Any help is much appreciated.
    Best Regards,
    Kinetick

    I actually don't get any error message at all. The Q is greyed out and a large ? in center of it and nothing works in Safari. I get the same non-message wherever I go that has QT. I have tried some of the fixes that have worked for other people but nothing works so far. I tossed the webplugin into the trash and restarted Safari. I repaired permissions. I looked at the plug-ins list in help but that was only confusing since I don't have a clue what any of those control. Getting frustrated and have spent a couple of hours trying to fix this.

  • Mime type note set for css with wwv_flow_file_mgr.get_file

    Hello,
    We have an apex application over here that has problems with the mime type of a theme (css) file. The css file works correctly in IE but not in FF or Chrome (because IE check the file extension, but FF seems not do not ..).
    This is the call that is failing
    <link type="text/css" rel="stylesheet" href="wwv_flow_file_mgr.get_file?p_security_group_id=33490830277084435&p_fname=theme_3_1.css" />
    in the FF error console it complains about the file being of application/octet-stream instead of text/css and therefore it will not load it.
    I have created a simple local .htm file with
    <html>
    <link type="text/css" rel="stylesheet" href="http://xxx.xxx.xx/pls/htmldb/wwv_flow_file_mgr.get_file?p_security_group_id=33490830277084435&p_fname=theme_3_1.css" />
    </html>
    And it loads the file (even though it says it is still application/octet-stream) in FF, but it will not do the same if called from Apex.
    I'm kind of lost here, so any ideas where to look for an explanation/fix ? (Yes, we have the AddType text/css .css in the httpd.conf)
    regards.

    Hi UserXY,
    what connectivity module do you use (Oracle HTTP Server, Embedded PL/SQL Gateway, APEX Listener)?
    Which Browser did you use to upload the css-File?
    I don't know why this happend in your case, but you could try a different browser to upload the file again.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at

  • Setting MIME type in IIS 4 & 5

    Well I am very impressed with this Web Start technology but it was a little slow downloading via sun's site.
    I set about trying to set it up on my company Intranet server before I demonstrated to my IT director.
    I saved the swingset2.jnlp file from the sun demo's page, used the Swingset2.jar file from the JDK 1.3.1 demos and got the swingset2.jnlp images and put them in an images subdirectory. Next I amended the swingset.jnlp to my own web server by changing the cobebase parameter. I then created a simple web page wrapper with a link to the jnlp file.
    In my directories I have the following files:
    swingset2.html
    swingset2.jar
    swingset2.jnlp
    images\swingset2.small
    On the server side IIS 5.0, I go into master properties for my web server, go to HTTP headers and hit the file types button.
    I then add a new entry with associated extension .jnlp and content type of application/x-java-jnlp-file
    Also found and changes the IIS.inf file just in case.
    Rebooted the web server to make sure everything is initialised correctly.
    When I launch the jnlp file from a client PC "Java Web Start" starts but I get the following error "Unable to launch Swingset2", details "category: download error. Bad MIME type returned from server when accessing resource: http://Newgreg/jaws/Swingset2.jnlp - text/html.
    The jnlp used is listed:
    <!--
    # @(#)template.jnlp     1.2 01/04/25
    # JNLP File for SwingSet2 Demo Application
    -->
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+"
    codebase="http://NewGreg/jaws/apps"
    href="SwingSet2.jnlp">
    <information>
    <title>SwingSet2</title>
    <vendor>Sun Microsystems, Inc.</vendor>
    <homepage href="../demos.html"/>
    <description>SwingSet2 Demo</description>
    <description kind="short">A demo of the capabilities of the Swing Graphical User Interface.</description>
    <icon href="images/swingset2.small.jpg"/>
    <offline-allowed/>
    </information>
    <resources>
    <j2se version="1.3+"/>
    <jar href="SwingSet2.jar" main="true" download="eager"/>
    </resources>
    <application-desc main-class="SwingSet2"/>
    </jnlp>
    Can anyone help??? I would love to start using this technology, it looks very promising.
    Email: [email protected]

    Have you been able to write your own java app and deploy it on that same server by any chance? It's hard to say whether it's something to do with the swing start demo configuration or whether it's your server's configuration. Since it's reporting bad MIME type I'm wondering if it's more related to the web server configuration.

  • Incorrect MIME type for XML Data Connection POST requests

    It appears that Xcelsius 2008u2019s XML Data Connection logic does not specify the correct MIME type for the data it sends to the server in its POST request.  Using an HTTP debug proxy, I was able to see that Xcelsius sends XML data in the POST, but is setting a content-type of u201Cx-www-form-urlencodedu201D.  According to the W3C spec:
      http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1
    Data sent with a MIME type of u201Cxxu201D should be encoded as key?value pairs, like this:
      key1=val1&key2=val2&Submit=Submit
    So, what Xcelsius is doing is clearly incorrect.  Worse, if your server process is a Java servlet, you may find that the POSTed data will be gobbled up by the servlet container and you wonu2019t be able to read it using a getInputStream(), or getReader() call because itu2019s already been processed by a call to the getParameter() method.
    The correct mime type for POSTing an XML formatted request from Xcelsius should be "text/xml".
    Wayne

    Hi,
    The Error #2032 your getting is due to the Flash player security.
    To remove this this error you need one crossdomain Xml file in the root directory which actually provides a lot more control over who has access to your data from a SWF. The cross domain policy is attached as crossdomain.xml.
    In the XML file, it is used a wildcard (*). This allows a SWF located on any machine to access your data source. You can certainly use an IP address or domain name to restrict access rather to opening it up completely. I always start with the wildcard to make sure my dashboard works, then start restricting access as necessary.
    Here is a whitepaper with everything you need to know about Flash player security:
    http://www.adobe.com/devnet/flashplayer/articles/flash_player_9_security.pdf
    Please let me know if you need any more clarification.
    Regards,
    Sanjay

  • How to specify application by extension rather than mime type (e.g., docx as word, not xml)

    When I try to open a link to a file.docx or file.xlsx, FF sees it as an xml file and wants to open it in my default xml application. I can select Word or Excel (I have Office 2010 installed), but a) it doesn't remember that in the applications list, so I have to browse applications each time, or b) if I set it to always use that type, it tries to open docx in Excel or xlsx in Word, depending on last usage. How can I specify applications by file extension instead of seeing these as the same type of file?
    Thanks,
    Ian
    FF 15.0.1, Win 7, Office 2010

    I don't know if the source server sends the right mime type - it probably doesn't. In fact, now you mention it, I'm not sure I've tried this from any sites except one, which is the one giving me problems. I'll try contacting them about fixing their mime types. Assuming though that they can't or won't fix it, the question still remains - is it possible to set application by extension rather than by mime type?
    Yeah, I can definitely save it and open it, just trying to take the easiest possible route for a quick view.
    Thanks.

  • Excel Mime Type

    I am creating a web-based application and the PHP server needs a bit of information that is provided by the browser, the mime type of a file upload, particularly an Excel file.
    In Safari 3, on my Mac, the mime type for .xls files is application/vnd.ms-excel and using this in my code works perfectly. However, I'm not sure this is the same for a Windows based Safari 3. This would change wouldn't it? Im guessing that the mime type for Windows is application/excel but I would like confirmation please. Can someone confirm the mime type for .xls files using Safari 3 for Windows?
    Thanks for reading, and have a great holiday season!

    wow, i forgot about this post, but just noticed that i had an unresolved question. i found my answer, it's the same mime type for windows as it is for mac. application/vnd.ms-excel

  • Ristretto or maybe generic mime.types issue: case of file extension?

    Good day.
    Ristretto (the XFCE image viewer) wouldn't recognize the .TIF files I copied over from a Windows partition until I renamed them to .tif. Lowercase .tiff and .tif are indeed the only two file extensions that are mentioned for image/tiff in /etc/mime.types but I thought this was somewhat unexpected (and unwanted).
    Is it a per-app decision whether or not to do case-sensitive extension compares? Is it a problem? And if so, in mime.types or in ristretto?
    Regards,
    Rene

    Hi,
    for some background information about the above changed behavior, have a look at 4.2 Before Header Processes and Browser Security HTTP Headers of the APEX 4.1. release notes.
    Regards
    Patrick
    Member of the APEX development team
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Get MIME type of file returns application/octet-stream for all but txt

    Eclipse 3.3.1.1, JRE 1.6.0_03, Tomcat 6.0, webwork 2.2.4
    I've created a test upload/view file page. I can successfully upload and return the file to view. However, the content type is always application/octet-stream except for txt.
    String contentType = new MimetypesFileTypeMap().getContentType(filename);
    System.out.println("contenttype for " + filename + ": "+contentType);I created mime.types in my META-INF for tomcat and populated it, but it doesn't change anything. Uploading an mp3 should return the audio/mpeg3 I have in mime.types:
    audio/mpeg3                         mp3
    I verified that it is in /wtpwebapps/MyApp/META-INF/
    My web.xml even has it:
        <mime-mapping>
            <extension>mp3</extension>
            <mime-type>audio/mpeg3</mime-type>
        </mime-mapping>Am I missing something?

    Darn it. The form gobbled up my mimeTypes.rdf code. Here it is again with the GT and LT symbols replaced with '+':
    +RDF:li RDF:resource="urn:mimetype:application/pdf2"/+
    +RDF:Description RDF:about="urn:mimetype:application/pdf2"
    NC:fileExtensions="pdf"
    NC:description="TonyTest PDF document"
    NC:value="application/pdf2"
    NC:editable="true"+
    +NC:handlerProp RDF:resource="urn:mimetype:handler:application/pdf2"/+
    +/RDF:Description+
    +RDF:Description RDF:about="urn:mimetype:handler:application/pdf2"
    NC:alwaysAsk="true"
    NC:saveToDisk="false"
    NC:useSystemDefault="false"
    NC:handleInternal="false"+
    +NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/pdf2"/+
    +/RDF:Description+
    +RDF:Description RDF:about="urn:mimetype:externalApplication:application/pdf2"
    NC:path="/usr/bin/acroread"
    NC:prettyName="acroread" /+

Maybe you are looking for

  • Ipod updater won't read my iPod...why?

    iPod updater won't read my iPod. Even when it's plugged in it still says plug in an iPod to update.

  • Clearing recent history on Firefox freezes browser.

    This is actually a problem and what I did to fix it.... Firefox 25 and Mac OS 10.7 (Lion) Went to "Clear Recent History" and Firefox stopped responding. • I had to use COMMAND-OPTION-ESC to quit Firefox I then went to Firefox preferences-->Privacy-->

  • Exporting Woes

    hi...i've roundtripped STP & FCP with no problems (mostly)...a problem has arisen with an audio only project...AIFF files (from old recordings from the 30's)...they clean up pretty well and sound good in application...exported files sound like the or

  • Error using BI EE with Essbase

    Hi all, I'm using BI EE 10.1.3.3.2 with Essbase 9.3.1.1. No problem importing metedata with Administrator; I can also use administrator in online mode. When I try to use answer to view data I have the following error: ===============================

  • Illustrator CS2 resizing issue

    My ability to resize anything when it is selected with the direct selection tool has gone away. The white squares at the center and corner points are never present. I am running Mac OS X 10.3.9. Is there a way I can turn this feature back on? Thanks!