Is the raw output from JSP and XSQLServlet the same?

Hi
Is there is difference between the raw output from XSQLServlet and JSP? For example, assuming the same content is being generated, is there some additional header information emitted by XSQLServlet that is not done by JSP?
I am using software that successfully consumes generated content from a JSP OK, but the same content (using the same XML/XSL) generated from XSQLServlet is being rejected. I am puzzled by this. Maybe this is due to some differences in servlet output or an encoding issue? The content is not HTML but XML-like with an "application" contentType, like Steve's SVG example.
It seems that XSQLServlet is showing some data prior to emitting the actual content, i.e. HTTP version, responding server version, content type and date, e.g.
HTTP/1.0 200 OK^M
Server: Resin/2.0.5^M
Content-type: application/x-sky; charset=UTF-8^M
Date: Thu, 28 Mar 2002 06:45:34 GMT^M
^M
(then the generated content)
Is this preamble usually generated by a JSP also?
If not, can this information be turned off, or put another way, can XSQLServlet's raw output be set to be exactly like JSP? If not, is there a workaround?
I have tried setting the following XSQLConfig.xml
<suppress-mime-charset> for the mime-type &
<character-set-conversion>
<none/>
</character-set-conversion>
also, but to no avail.
Please help! I really want to use XSQLServlet!
Thanks.
Michael.

Yes, just less fine control over the process but the same engine.
Regards
TD

Similar Messages

  • Is there a possibilty to import ONLY the RAW pictures via Organizer and let the jpeg's on the camera?

    When I import the pictures from the camera (Olympus OMD Em-1): can I only import the RAW-pictures into the organizer?
    Hope for help I'm not very good in englisch sorry.
    txs
    Alexandra

    Alexandra,
    The downloader module of Elements does not provide an option to filter imported files by their type (jpg or raw). You can only filter videos from still photos. I agree that would be a welcome addition!
    What you can do instead:
    - use your OS (explorer / finder) to import the files to your computer via your card reader : you can order your files to import by extension (jpg, CR2, NEF...) and select the raw files. Then use the 'Import' feature of Elements to import from 'Files and Folders' (that 'registers' the files in the catalog).
    - Or you can use the standard Element download and delete the jpegs afterwards. Not very elegant, but that works.
    - Or you can use the 'Import' feature of Elements and choose from 'Files and folders' instead of From camera or card reader, then browse to the card reader. The card reader will be considered as a separate drive. You can select only raws in the import dialog by setting the file order to file extension (CR2, NEF...) instead of file name. You select the first item, then Shift Click on the last one. Only raws are selected. Now, be careful to have the checkbox to 'copy' the files ticked. Otherwise, Elements would consider your pictures to be on a removeable drive. The picture files will be copied on your computer in a special 'photo from removable drives' subfolder.

  • Trap string output from resultset and pass the value to getSchema.

    I want to get the string ldb output frm the resultset and pass it to getSchemas(ldb).kindly let me know how to do it,right now it is throwing error like variable ldb might not have been initialised.
    public boolean Err_getSchemas() {
    boolean ret = true;
    try {
    System.out.println("**** Testing getSchemas Tests : - ");
    if(login()) {
    Statement stmt = con.createStatement();
    ResultSet rs;
    String ldb;
    rs = stmt.executeQuery("SELECT identifier FROM ldb_catalog");
    while(rs.next())
    ldb = rs.getString(1);
    //String ldb = rs.getString(1);
    //System.out.println("lll"+ldb);
    try{
    System.out.println("1.Testing DatabaseMetaData.getSchemas() with string ldb");
    ordbjava.jdbc.ordbMetaData dbmd = ( ordbjava.jdbc.ordbMetaData)con.getMetaData();
    ResultSet dbmdrst = dbmd.getSchemas(ldb);
    System.out.println(" Exception not thrown: TEST Pass ");
    dbmdrst.close();
    }catch(Exception ex){
    System.out.println("***JDBCMetaData.getSchemas() with string ldb failure***");
                   System.out.println(" Catch Exception"+ex );
    catch (SQLException e) {
    printExceptionStack(e);
    System.out.println("***ordbCollection Preparation Error Caught SQLException: " + e.getMessage());
    return false;
    finally {
    try {
    con.close();
    catch (SQLException e) {}
    return ret;
    }

    I want to get the string ldb output frm the resultset and pass it to getSchemas(ldb).kindly let me know how to do it,right now it is throwing error like variable ldb might not have been initialised.
    public boolean Err_getSchemas() {
    boolean ret = true;
    try {
    System.out.println("**** Testing getSchemas Tests : - ");
    if(login()) {
    Statement stmt = con.createStatement();
    ResultSet rs;
    String ldb;
    rs = stmt.executeQuery("SELECT identifier FROM ldb_catalog");
    while(rs.next())
    ldb = rs.getString(1);
    //String ldb = rs.getString(1);
    //System.out.println("lll"+ldb);
    try{
    System.out.println("1.Testing DatabaseMetaData.getSchemas() with string ldb");
    ordbjava.jdbc.ordbMetaData dbmd = ( ordbjava.jdbc.ordbMetaData)con.getMetaData();
    ResultSet dbmdrst = dbmd.getSchemas(ldb);
    System.out.println(" Exception not thrown: TEST Pass ");
    dbmdrst.close();
    }catch(Exception ex){
    System.out.println("***JDBCMetaData.getSchemas() with string ldb failure***");
                   System.out.println(" Catch Exception"+ex );
    catch (SQLException e) {
    printExceptionStack(e);
    System.out.println("***ordbCollection Preparation Error Caught SQLException: " + e.getMessage());
    return false;
    finally {
    try {
    con.close();
    catch (SQLException e) {}
    return ret;
    }

  • How do u input the printer output into labview and display the data?

    Hi, basically when a program has done running the program prints a page of data. basically i want labview to read this data from the parallel port of the pc, display it in labview or be able to pull the data apart and put it where i want. any ideas, be much appreciated.
    thanks stuart

    Basically, what you need is to access the pins of your PC�s parallel port
    The function that you need is located at: �Advances/ Port I/O /inport� of your function palette.
    You might want to read the following documents before programming. They will help you a lot (specially if you are using WIN2000 or later OS that has a kernel stucture, you need to download the and used inport.vi of AccessHW.zip for your program to work)!
    Using the Parallel Port in LabVIEW
    http://zone.ni.com/devzone/conceptd.nsf/webmain/72​C6FC6CE4AD4D1386256B1800794596?opendocument
    IEEE 1284 - Updating the PC Parallel Port
    http://zone.ni.com/devzone/conceptd.nsf/webmain/09​89D3D9DAFAE64E8625680400679736?opendocument
    Port and Memory Utilities for Windows
    http://sine.ni.com
    /apps/we/niepd_web_display.display_epd4?p_guid=B45​EACE3DEBD56A4E034080020E74861&p_node=DZ52058&p_sub​mitted=&p_rank=&p_answer=&p_source=External
    Best,
    USCTROJAN

  • Problem with the RAW images from Canon 5d Mark III

    hope you are doing good. i need your opinion regarding a phenomena i am observing in the RAW images from Mark iii.
    The following images appear to be absolutely correct in the camera and when viewed through a picture viewer.
    I have tried and tested the following scenarios:
    1. Used a medium speed kingston CF Card (new) and transferred the images through the USB cable supplied with the camera.
    2. Thought the card might be slow OR faulty.. used Sandisk Extreme and Extreme Pro SD Cards but same result.
    3. Transferred SD Card data through the builit in laptop card reader.
    4. Have directly imported the images from SD Card into Lightroom 4.3, copied the data firstly to laptop HDD and then imported, copied the SD card data to an external HDD and then copied. .... same result!!
    5. Have tried the same with both Win7 and Mac OS.
    6. The DPP sw that came with the camera gives the error of 'Decoding Failed' with these images.
    Usually 10-15 images out of 100 give this kinda pattern. so i was hoping if you can guide me what is going wrong here !!!

    The camera and PictureViewer are likely showing you the embedded JPG, while DPP and LR are decoding the raw data which appears to be corrupted.  Assuming you have formatted your SD cards in the camera and the issues are always in the same positions in the same images when you transfer them multiple times from the card to different computers via different methods, then the data is on the card that way.
    If the embedded JPG is ok then the sensor is ok, so something between the sensor-readout and the storage on the card appears to be failing intermittently, and it’s time to talk to Canon, I think.

  • Call  RFC from ECC and display the values in  AET

    Hi ALL,
    I had an RFC in ECC ( Z_CRM_SPEC_DATA) this should be called into my AET Fields in getter method.
    In getter method of tat AET field what code should i write?
    Plz help me on this.

    HI,
    1) Call the  RFC(Z_CRM_SPEC_DATA) from ECC and display the values as mentioned in below AET fields.
    AET FIELDS :    zzfld00000M    zzfld00000N
    Description  :    Budget Quan    Forecast Quan
    values         :    (--5.0)(6.0--
    2) (Fetch Budget and Forecast data from ECC ),you would need to pass Material Number(MATNR) as well as Ship to party info to fetch the budget and forecast data as one material may be assigned to 2 or more SH with specific budget and forecast data for each.
    Edited by: venkatabharathv on May 23, 2011 2:44 PM
    Edited by: venkatabharathv on May 23, 2011 2:49 PM

  • I have just bought a Panasonic Lumix compact camera. Aperture and Preview can't open the RAW files from this camera. Panasonic recommend downloading 'SYLKPIX Developer Studio SE' to save RAW file formats.How can Aperture and Preview read the files?

    I have just bought a Panasonic Lumix compact camera. Aperture and Preview can't open the RAW files from this camera. Panasonic recommend downloading 'SYLKPIX Developer Studio SE' to save RAW file formats.How can Aperture and Preview read the files?

    Either use 'SYLKPIX Developer Studio SE' to develope the RAW files and to save them in another lossless format like TIFF, or try if Adobe's free DNG Coverter can convert your Lumix RAW files to dng. Then import the dngs. This way, your files will still be RAW files.  This works (most times) for my Lumix FZ28.
    Adobe DNG Converter 8.3  http://www.adobe.com/support/downloads/detail.jsp?ftpID=5695

  • Adobe Lightroom, Photoshop and Bridge does not recognize the raw files from my Canon Mark III 5D Camera.

    Adobe Lightroom, Photoshop and Bridge does not recognize the raw files from my new Canon Mark III 5D Camera.  How can I get my files open to view and edit?  I am using LR3, Photoshop CS3 and Bridge CS3.  Do I need to upgrade these programs or is there another way to get these programs to recognize my files?
    When I try opening the raw images in Lightroom, the thumbnails say "Preview unavailable for this file"  ... when I click "import" an error message pops up that says "The files are from a camera which is not recognized by the raw format support in Lightroom."
    When I try opening the raw images in Photoshop, an error message pops up saying "could not complete your request because photoshop does not recognize this type of file."
    When I try opening the raw images in Bridge, it just shows an icon with the file name and CR2.
    Please help!!!

    Unless I missed an announcement, today, LR6 isn't available, yet, right?  Only Adobe employees and beta testers would know what LR6 does differently at this point and they're all sworn to secrecy.
    LR5 is available as a standalone version.
    PS-CS6 is available as a serial-number-licensed version.
    PS-CC + LR5 are also available as a Photography Plan subscription for $10/month with a minimum OS versions of OSX 10.7 (and probably 10.8, soon) and Windows 7.
    Bridge is part of PS, not a separate program.
    LR5 standalone and LR+PS-CC plan are both available on this page:  http://www.adobe.com/products/catalog/software.html
    PS-CS6 can be found on this page:  Creative Suite 6 which can be found by searching www.adobe.com for Photoshop CS6 and clicking the Buy link in the on-the-fly search results.
    As with any new Adobe software, it might be wise to run it in trial mode for a few days/weeks to see if it works well with your computer, before purchasing and finding out you might need a new computer, first.

  • I have Photoshop Elements 9. I downloaded the plug in 6.0 and it works on the RAW files from Canon EOS 60D, but not with Canon EOS 70D. I cannot download higher versions of plug in, because I have Windows Vista and it is not supported.

    I have Photoshop Elements 9. I downloaded the plug in 6.0 and it works on the RAW files from Canon EOS 60D, but not with Canon EOS 70D. I cannot download higher versions of plug in, because I have Windows Vista and it is not supported.

    You could try using the DNG converter 8.7 on Windows vista:
    <Adobe - Adobe Camera Raw and DNG Converter : For Windows : Adobe DNG Converter 8.7>
    <Adobe - Adobe Camera Raw and DNG Converter : For Macintosh : Adobe DNG Converter 8.7>
    You then need to watch this video to get hang of it:
    <Camera Raw: How to use Adobe DNG Converter - YouTube>
    Hope this helps.

  • I have Lightroom 3.6 and it does not recognize the raw images from my Canon 7d mark II, suggestions?

    I have Lightroom 3.6 and it does not recognize the raw images from my canon 7d mark II, suggestions, do I need to upgrade?

    Yes, you need an upgrade for native support in Lightroom. You need version 5.70 or higher; current version is 5.71.
    Alternatively, you could use the most recent DNG converter and convert the raw files to DNG files before importing into Lightroom.

  • I have a new NikonD7200 camera. I have updated to the latest version of LightroomCC and restarted my computer.  LR tells me that the raw format from my Nikon is not supported by Lightroom?  Any ideas??

    Lightroom tells me that the RAW format from the D7200 is not s format recognised by Lightroom.
    How do I make this work??

    You seem not to have updated to LR 6 / LR CC 2015 - this is needed fro the D7200.
    https://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html
    If you have a subscription, the update is free. If you have standalone you can buy an upgrade from the Adobe Products site.

  • What are the characteristics of the sound output from the speaker iPad3?

    What are the characteristics of the sound output from the speaker iPad3?

    man -s4 proc
    or
    http://docs.sun.com/app/docs/doc/817-0683/6mgff29c4?q=procfs&a=view
    Its a virual directory structure with a directory per process. These per process directories contain more directories and files that supply detailed information on that process eg per open file information.
    Access to the per process directories is controlled by checking the credentials of the accessing process against the credentials of the
    process whose procfs directory is being accessed.
    tim

  • Trying to understand what are the parameter/output From debug SNMP timers

    Hi All
    I am trying to understand what are the parameter/output
    From the debug SNMP timers
    Output SNMP timers :
    *Dec 31 11:56:27: SNMP: HC Timer 632DDE28 fired
    *Dec 31 11:56:27: SNMP: HC Timer 632DDE28 rearmed, delay = 5000
    *Dec 31 11:56:32: SNMP: HC Timer 632DDE28 fired
    *Dec 31 11:56:32: SNMP: HC Timer 632DDE28 rearmed, delay = 5000
    *Dec 31 11:56:37: SNMP: HC Timer 632DDE28 fired
    *Dec 31 11:56:37: SNMP: HC Timer 632DDE28 rearmed, delay = 5000
    *Dec 31 11:56:38: SNMP: HC Timer 70B54A70 fired
    *Dec 31 11:56:38: SNMP: HC Timer 70B54A70 rearmed, delay = 20000
    70B54A70 , 632DDE28 „² what this number means.
    5000 , 20000 „² why I have different delay time ( does it means that I have delay for SNMP request )

    The debug messages you are seeing are related to High-Capacity (HC) timers, which manage updates to 64-bit (HC) snmp counters as defined in RFC2233.
    The "fired" and "rearmed" messages indicate when each of these timers
    updates ("fired") the HC snmp counters, and when they should fire next
    (the "rearmed" messages). Higher speed interfaces require updates more often than lower speed interfaces, so you see two examples of that in your debug messages - 5000 ms updates vs 20000 ms update.
    The numbers that are in the messages (i.e. 632DDE28 ) are internal references to the timer that has fired.
    These messages do not indicate any delay in SNMP message processing, but normal SNMP operation of HC counters.

  • I can't open the RAW files from my new Nikon D4s camera in photoshop? How do I download the latest software for RAW files?

    I can't open the RAW files from my new Nikon D4s camera in photoshop? How do I download the latest software for RAW files? Cheers!

    What version of Photoshop are you running?  You will need at CS5, CS6, CC or CC2014.  Each version needs a different ACR-plug-in to open files from that camera.
    If you are on CS4 or earlier, you'll need to upgrade—or, in the alternative; look for, download, instal, launch and run the free, stand-alone DNG Converter 8.6 on each file of raw NEF files to convert them to raw DNGs first so you can open them in your version of Photoshop and ACR plug-in higher than 2.4.

  • Simultaneous audio output from Ipad and bluetooth ?

    Is it possible to have simultaneous audio output from IPAD and a bluetooth speaker? At present I can only get audio from the Bluetooth Speaker and nothing from the IPAD's audio out! My purpose is that my Mom will hold the IPAD to listen to her Audiobooks but my Dad who sits across the room and is hard of hearing needs a speaker close to him, so I need simultaneous audio from both devices.
    JW

    Use this: http://smile.amazon.com/KOKKIA-A10m-MULTI-STREAM-Transmitter-concurrently/dp/B00 69G1SIC/ref=smi_www_rco2_go_smi_1968491462?_encoding=UTF8&*Version*=1&*entries*= 0&pf_rd_p=1968491462&pf_rd_s=smile-campaign&pf_rd_t=201&pf_rd_i=B0069G1SIC&pf_rd _m=ATVPDKIKX0DER&pf_rd_r=1N57Q0YT9QW7Y1K596YD and use two Bluetooth speakers for them. The speaker output on the iPad is pretty limited and your mother will probably have a hard time hearing it. Get a BT speaker for both and the above device and they both can listen from whatever location they want (within 40 feet) and get better sound.

Maybe you are looking for