Mime Type for Style Sheet

I am trying to use weblogic 5.1 as my HTTP server and EJB Server,
the problem I am facing is
I have <link type="text/css" scr="stylesheet.css"> as first line of
code in all my jsps
when I try to access these JSPs from the server its printing the css
considering it as a normal text/plain file.
please help me in getting rid of this problem, I have added the
weblogic.httpd.mimeType.text/css=css
to my properties file still same issue.
Thanking you in advance.
D.S.Suresh Kumar

There's not an actual space in the error, it just looks that way when I pasted the text into the post.
For some additional information, I've tried going through the tutorial here (http://www.youtube.com/ADEPDevelopers#p/c/DF68F4464D4EF4E0/4/klNspQvfVMc) and here (http://help.adobe.com/en_US/enterpriseplatform/10.0/AEPDeveloperGuide/WS989a722fbb254cbe-6 f13dcd01304cbb1ac4-8000.html), however, neither one goes through the full steps of adding the Service to the axml and cxml files which is where I'm probably having trouble.
I've also looked at the StockMosaicService sample included with ADEP and tried mimicking it but with no luck. I had expected the ADEP tooling in Flash Builder to handle all this for me but it doesn't appear to be working properly now.

Similar Messages

  • The MIME type for xslx file is different in Mozilla 13.0.1

    The MIME type for a xslx file is coming as "application/vnd.ms-excel.12" in Mozilla 13.0.1 instead of the "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" which comes in other browsers when using fileUpload.PostedFile.ContentType

    Firefox usually gets the MIME type from the MIME database registry key.
    * HKEY_CLASSES_ROOT\.xslx
    * HKEY_CLASSES_ROOT\MIME\Database\Content Type

  • Function types for Balance Sheet Planning missing in SEM-BPS 6.0

    Hi BPS experts,
    After upgrading our BI-system from SEM 4.0 to SEM 6.0 (level 10) as part of the upgrade from BW 3.5 to BI 7.0 (level 15), the BPS function types for balance sheet planning are not available in the planning environment (Transaction code BPS0).
    According to the SAP Library the balance sheet planning functions in SEM-BPS comprises of 6 standard function types - one of them is "Depreciation":
    <a href="http://help.sap.com/saphelp_sem60/helpdata/en/0a/242537cedf2056e10000009b38f936/frameset.htm">help.sap.com -> Business Planning and Simulation (BW-BPS)</a>   
    Menu path: Business Planning Functions -> Functions for Balance Sheet Planning
    In our existing SEM 4.0 we are using "Depreciation" and the functions based on this function type are of course short dumping when executed in our upgraded system (SEM 6.0) as the function type does not exist here.
    Odd though - we do have the function type "Allocation" available in SEM 6.0, which should be delivered with SEM together with the Balance Sheet Planning function types (It is listed directly under "Business Planning Functions" in the SAP Library) .
    I have tried to figure out whether we missed out on activating something during or after the system installation, but our basis consultant has not found anything in the installation guides related to this issue. Also I was wondering whether it could be a simple matter of activating some Business Content but without any luck.
    Does anybody know why the Balance Sheet Function Types are not available in SEM-BPS 6.0?
    Kind regards,
    Lars
    PS: Our system status is:
    SAP_ABA     700     0013     SAPKA70013     Cross-Application Component
    SAP_BASIS     700     0013     SAPKB70013     SAP Basis Component
    PI_BASIS     2005_1_700     0013     SAPKIPYJ7D     PI_BASIS 2005_1_700
    ST-PI     2005_1_700     0005     SAPKITLQI5     SAP Solution Tools Plug-In
    SAP_BW     700     0015     SAPKW70015     SAP NetWeaver BI 7.0
    FINBASIS     600     0010     SAPK-60010INFINBASIS     FINBASIS 600 : Add-On Supplement
    SEM-BW     600     0010     SAPKGS6010     SEM-BW 600 : Add-On Supplement
    BI_CONT     703     0007     SAPKIBIIP7     Business Intelligence Content
    Message was edited by:
            Lars B Rasmussen

    Hi Lars,
    It seems not all the planning function from SEM BPS are available in BW BPS. Please check the links below: -
    what is the difference between BW 3.5 BPS and SEM BPS 4.0
    BW- BPS and SEM- BPS
    SEM-BPS VS BW-BPS
    BCS Doc
    Regards,
    SK

  • (261705413) Q RPCC-21 Missing text/xml MIME-type for WSDL files?

    Q<RPCC-21> Would it mess up the SOAP operations that clients do when using the
    WSDL in a dynamic client to put a text/xml mime type in the WSDL-providing jsp?
    A<RPCC-21>: It is a known issue that the MIME-type for WSDL files is not appropriately
    transmitted so some web browsers will not identify an appropriate helper application
    when they are viewed (for Netscape just press Ctrl-U to view the source). This,
    however, does not affect the dynamic client as evidenced by the example code seen
    in the code demonstration.
    Adam

    SR,
    You probably already have the answer by now, but I just came across the same problem and found the answer elsewhere.
    The trick is to have the JavaMail jar in your classpath BEFORE the JAF jar. Given the habit of my development environment to sort jars alphabetifally it had me stumped for a bit.
    Good luck
    Marc

  • 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

  • Mime Type for document class when archiving outlook emails

    Hello team,
    can anybody fill me in how to configue the mime type for .msg files (outlook emails) in the document class msg?

    1) Use SE16 to change table V_TOADD
    2) Add:
    Document Class                 - MSG
    Description                         - Outlook Mail
    MIME type of a Web object - message/rfc822
    You can then associate the MSG document class to document types.
    Eli.

  • How to set MIME type for JNLP in Windows2000 IIS

    Hi!
    I try to set up my windows 2000 IIS's MIME type for JNLP to test java web start, but I have no idea how to set
    the MIME type. Can anybody help me???
    Best wishes

    In IIS v4 which comes with the Windows NT4 option pack, you right click the web page you are working with, select properties, then go to the HTTP Headers tab. At the bottom there's a button labelled File Types in the MIME Map section.
    After you've clicked that, you can add the two mime types you need;
    Associated Extension MIME Type
    .jar application/x-java-jar-file
    .jnlp application/x-java-jnlp-file
    I'm assuming that it is the same in W2k/IIS5.

  • Any code available to get mime-type for file?

    Hi,
    at this link http://www.utoronto.ca/ian/books/html4ed/appb/mimetype.html you can find a huge listing of content-types for files. What I'd like to know is, if there's any code available for getting the right mime-type for a given file-extension. E.g given a filename "Document.doc" returns mime-type "application/msword".
    Thanks in advance,
    Tom

    U can use the isMimeType() method to compare various types.
    Eg. isMimeType("text/plain") or isMimeType("multipart/*") etc.

  • What is the correct MIME type for an AD RMS protected PFILE?

    Hi,
     The context of why this question is asked is as follows: In an SAP Webdynpro application (the UI is displayed in a web browser). We intercept the file with SAP data that is being downloaded, encrypt it using AD RMS and then send the modified (encrypted)
    file back to be downloaded by the browser into the user's downloads folder.
     Because of this interception and modification of the text file being downloaded (.txt), which is now a .PTXT file (PFILE) there is a conflict in the MIME TYPE. 
    So could you let me know what the MIME type for a PFILE would be? Is there a standard MIME Type for all these PFILES? (.ptxt, .pfile etc..)? And is it by any chance "application/octet-stream"?

    Hi,
    I also noticed this - it seems that Microsoft's 4 char extensions like .docx are not being recognized by application type so that either the web server or mod-plsql is defaulting to the "application/octet-stream" mime type which refers to a file with binary content - instead of the traditional "application/msword" mime type you would expect.
    If you know, at the point of insert into your database table, both the mime type and file name, one workaround would be to check if the mime type is 'application/octet-stream' and the file's extension is ".docx" or other likely extensions and then treat it as mime type 'application/msword", etc.
    Not really a solution but might be sufficient workaround depending on your situation.
    Ted
    Edited by: Ted Martin on Oct 25, 2012 7:27 PM

  • How to set Mime Type for Static Files

    Hi All,
    I am working on Apex 3.2.1.00.10.
    When I am trying to upload (create) a ".js" file into Static Files under Shared Components of an application; it is saving as "*text/plain*" for Mime Type. But I need Mime type to be set as "*application/x-javascript*".
    Please help me to change the Mime type of .js file.
    Or is there any way to upload the file directly as "*application/x-javascript*" as its Mime Type.
    Thanks in advance.
    Umesh

    In IIS v4 which comes with the Windows NT4 option pack, you right click the web page you are working with, select properties, then go to the HTTP Headers tab. At the bottom there's a button labelled File Types in the MIME Map section.
    After you've clicked that, you can add the two mime types you need;
    Associated Extension MIME Type
    .jar application/x-java-jar-file
    .jnlp application/x-java-jnlp-file
    I'm assuming that it is the same in W2k/IIS5.

  • Standard mime type for .acsm file

    What is the standard mime type that should be used for an .acsm file?
    Is it this? - application/vnd.adobe.adept+xml
    I can see few eBook sellers sharing this mime type: application/vnd.adobe.adept (without the +xml).  I can see in such cases few of the free reader apps availbale in android / iOS are not recognizing the file.
    Pl advice.
    Thanks, Sundar

    I believe from looking around on the web, just the following is used:
    application/xml
    Take care, Mike
    Message was edited by: MikeWenzloff

  • Identifying the correct MIME type for file uploads

    How does Apex identify the MIME type of an uploaded file? I have a page that uploads a file and accesses it via APEX_APPLICATION_FILES. That works fine. The problem is that, for certain file types, the mime_types column is "application/octet-stream" instead of the correct file type. I think it's using the Content-Type from the client browser, though I'm not quite sure. Is there any way to override this server-side in Apex?
    I'm running Apex with mod_plsql. Adding an AddType directive to Apache and adding the correct association to the mime.types file did not work.

    Hi,
    I also noticed this - it seems that Microsoft's 4 char extensions like .docx are not being recognized by application type so that either the web server or mod-plsql is defaulting to the "application/octet-stream" mime type which refers to a file with binary content - instead of the traditional "application/msword" mime type you would expect.
    If you know, at the point of insert into your database table, both the mime type and file name, one workaround would be to check if the mime type is 'application/octet-stream' and the file's extension is ".docx" or other likely extensions and then treat it as mime type 'application/msword", etc.
    Not really a solution but might be sufficient workaround depending on your situation.
    Ted
    Edited by: Ted Martin on Oct 25, 2012 7:27 PM

  • How do I set the mime type for an attachment to "application/zip"

    I'm sending out an email with a zip file as an attachment. The following code works fine, but the Mimetype for the attachment is set to "application/octet-stream"
    FileDataSource fds = new FileDataSource(zipname);
    DataHandler dh = new DataHandler(fds);
    MimeBodyPart mbp2 = new MimeBodyPart();
    mbp2.setDataHandler(dh);
    mbp2.setFileName(fds.getName());
    I would like the mime type to be application/x-zip. Unfortunately I seem to need a data content handler for this mime type as I get this exception.
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/x-zip
    Building a date content handler in the activation framework seems like a lot of work to do a very simple thing. Am I missing something obvious? Is there a simple way to do this?

    I found the solution after much chasing around. The default mimetypes file that comes with the activation framework does not list zip.

  • Mime Types for .ps1 files

    I am trying to setup IIS to display .ps1 files in text format (i.e. same way it deals with .txt files, where it displays the contents in the browser). I set it up to be a text/plain but it still prompts me to download the file when I browse to it.
    What else am I missing?

    Hi Daniel,
    Agree with Mr X, in addition, you can also refer to this similar disscusion:
    In your IIS Manager, select the server node on the tree, and click "MIME Types". Then click "Add..." on the right panel. For extension, set it to .ps1, and set the MIME type to text/plain.
    You can do this for a specific web application or virtual directory, too. If you are doing this through web.config, it would look something like this, please backup this configuration file before edit:
    <configuration>
    <system.webServer>
    <staticContent>
    <mimeMap fileExtension=".ps1" mimeType="text/plain" /><!-- or application/octet-stream -->
    </staticContent>
    </system.webServer>
    </configuration>
    Refer to:
    Download powershell (.ps1) file via ASP.NET
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Mime type for xml

    i am writing a code in jsp which should download a xml file in client machine. now the problem is while loading it is showing to store the .jsp file to be stored which is storing it in xml format , but the alert message shown is showning to save as storexml.jsp which is a jsp extension. i want it to show as a xml extension
    response.setContentType("application/vnd.xml");
    filename="xyz.xml";
    try{     
    int i;
    FileInputStream f=new FileInputStream(filename);
    while((i = f.read()) != -1){
         out.write((char)i);
    }catch(Exception e){
         Log.debug("can not write file in viewxml.jsp,exception :"+e);
         System.out.println("can not write");
    i think the mime type should be something to deal with. could anyone tell me the correct one which will store it showing a .xml format by default.

    but usually in some sites i have seen to upload files which gives a setting , if i dont have a text editor tehn i get the file window to save as document type but i if i have a editor then it should give to save as xml by default.
    even that itried with storing as xls file which works fine there mime type is 'application/vnd-excel'
    but it should work same as well in xml instead of it showing jsp document

Maybe you are looking for

  • How do I set up a BT email account?

    I'm going round and round in circles trying to set up my first BT email account. Please can someone tell me how to do this. I logged a request with support a week ago but never had a reply, which is annoying. When I click on email in My BT all I get

  • Statistical Internal Order on a Purchase Order

    Hi, We are trying to use a statistical internal order on a purchase order along with a real cost center. But we are unable to get the internal order to show up on the FI documents being posted using goods receipt. Purchase Order has been created with

  • Asha 201 Mail app problem

    The mail app on my asha 201 doesnt work,how can i resolve it,coz wen i open it,it says conflicting apps Moderator's note: We provided a more topic-related subject as the post was moved to the appropriate board. 

  • Table Name for Lead Lost Reasons (which captures Code/ Code Group/ Catalog)

    We are making a dashboard in BI for Lead analysisbased on status and reasons (Won/Lost/Open etc). Can anyone please tell the table name through which we can get the required data. Regards, DD

  • Export Dashboard Prompt Values to excel with reports

    I have a dashboard prompt. When I export the report, there is no prompt values download with it. Please help.