Calculate size of output from HttpServletResponse

how to calculate size (in bytes) of the output from HttpServletResponse.
can anyone tell me....
thanks in advance

> how to calculate size (in bytes) of the output from
HttpServletResponse.
can anyone tell me....
1) Read the bytes from the servlet output stream and count them.
2) Determine the content to be sent in the response and count the bytes.
~

Similar Messages

  • Variable size array output from dynamic dispatch class method on FPGA

    I have a Parent class on the FPGA that will serve as a template/framework for future code that will be developed. I had planned on creating a child class and overriding a couple methods. The child class constant would be dropped on the block diagram so the compiler wouldn't have any trouble figuring out which method (parent's or child's) should be used (i.e. the parent's method will never actually be used and won't be compiled with the main code). The output of one of the methods is an array. This array will have a different size depending on the application. I defined the array size as variable. In the child method, there is no question about the size of the array so the compiler should be able to figure it out. However, when I try to compile, I get an error about the array size. I can't figure out any way around it. Any thought would be greatly appreciated! 
    Thanks, Patrick
    Solved!
    Go to Solution.
    Attachments:
    FPGA Test.zip ‏1194 KB

    Wait what?
    Can we use dynamic dispatch VIs on FPGA?  Really?  I was completely unaware of this.  Obviously the dependencies need to be constant and known at compile time but...... This would have saved me a lot of headaches in the last few months.
    Since which LV version is this supported?
    Say hello to my little friend.
    RFC 2323 FHE-Compliant

  • SWF size when output from CS5 vs. CS6

    Hi All,
    I've hit a wall and I'm really hoping to get some help!
    My company recently updated us from CS5 to CS6.  I was pretty excited to start using the new Flash IDE and, for the most part, it's been great.  However... there's one issue I can't seem to figure out.
    We create lots of banners ads so we have templates built.  If I open my 300x250 template in Flash CS5 and publish it's 8243 bytes per the size report.  If I open the exact same FLA in Flash CS6 and publish it's 9873 bytes.
    I've narrowed it down to miniscule differences in the shapes, but the main difference is in the fonts.  The same characters are embedded in the FLA, but the file size is bigger when exported from CS6 (~1449 bytes or 1.4kb).  Working in the advertising space we're constantly under the gun to keep our SWFs under 40kb so every little bit counts.  This is an issue for our team as that extra 1.4kb means other things have to be compressed further resulting in lower quality.
    Has anyone else run into this?  I've searched and searched, but could only find a few threads that lead to no definitive answers.  Is there a new setting in CS6 that can be turned off?  Is there a new way of compressing fonts?  For the time being we're reverting back to publishing our SWFs out of CS5 which is a huge headache and affects productivity.
    Any help anyone can offer would be VERY much appreciated!
    Best,
    Vern

    M47K / kglad...
    Thanks for the responses.  I double-checked and only the characters being used in the SWF are embedded, not the entire font.
    Further, I did some more experimentation and while switching to LZMA compression helped, it didn't fix the issue.  Here are some stats:
    Flash Pro CS6 using "Deflate"
    File Size: 9967 bytes
    ActionScript: 2322 bytes
    Font 1: 3665 bytes
    Font 2: 819 bytes
    Flash Pro CS6 using LZMA - Compared to CS6 using "Deflate"
    File Size: 9550 bytes (417 bytes smaller)
    ActionScript: 2236 bytes (86 bytes smaller)
    Font 1: 3506 bytes (159 bytes smaller)
    Font 2: 783 bytes (36 bytes smaller)
    Flash Pro CS5 - Compared to CS6 using "Deflate"
    File Size: 8353 bytes (1614 bytes smaller)
    ActionScript: 2266 bytes (56 bytes smaller)
    Font 1: 2472 bytes (1193 bytes smaller)
    Font 2: 556 bytes (263 bytes smaller)
    Any other help or tips that people might know about would be very much appreciated.  As I mentioned in my initial post... I have to squeeze every bit of kb out of the work I do while maintaining quality images and animation so every little kb helps!
    Thanks!
    Vern

  • Changing the seeded rdf report output from text to PDF

    Hi All,
    I am trying to change the seeded report "Print Requisition Report" output from text to PDF. I changed the output format in the concurrent program definition from text to pdf. The report is now getting displayed in pdf format, but the alignment of the fields are changed. The output is not printing as it was printing while in the text output format. The output looks very sloppy, with uneven fonts and too much of text wrapping.
    I tried some formatting and fields are somehow getting displayed but doesnt look in proper format. I am not able to change the font style in the report builder 6i, even if i change it is printing in the same font style with uneven font size. I think reducing the font size might help, but i am unable to change.We are on 11.5.10.2. Please provide your valuable suggestions on how to go about.
    Thanks
    Sarvesh

    Hi Hussein,
    Thanks for the information. After the adjustments in the layout and the font change the report is now getting displayed without any clipping when clicked on view output. But when the same report is printed some characters on the left and and right side is getting clipped. Please help on how to solve this issue.
    Thanks,
    Sarvesh

  • How is it posible to get the File name, size and type from a File out the H

    How is it posible to get the File name, size and type from a File out the HttpServletRequest. I want to upload a File from a client and save it on a server with the client name. I want to conrole before saving the name, type and size of the file.How is it posible to get the File name, size and type from a File out the HttpServletRequest.
    form JSP
    <form name="form" method="post" action="procesuploading.jsp" ENCTYPE="multipart/form-data">
    File: <input type="file" name="filename"/
    Path: <input type="text" readonly="" name="path" value="c:"/
    Saveas: <input type="text" name="saveas"/>
    <input name="submit" type="submit" value="Upload" />
    </form>
    proces JSP
    <%@ page language="java" %>
    <%@ page import="java.util.*" %>
    <%@ page import="FileUploadBean" %>
    <jsp:useBean id="TheBean" scope="page" class="FileUploadBean" />
    <%
    TheBean.doUpload(request);
    %>
    BEAN
    import java.io.*;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletInputStream;
    public class FileUploadBean {
    public void doUpload(HttpServletRequest request) throws IOException
              String melding = "";
              String filename = request.getParameter("saveas");
              String path = request.getParameter("path");
              PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("test.java")));
              ServletInputStream in = request.getInputStream();
              int i = in.read();
              System.out.println("filename:"+filename);
              System.out.println("path:"+path);
              while (i != -1)
                   pw.print((char) i);
                   i = in.read();
              pw.close();
    }

    Thanks it works great.
    Here an excample from my code
    import org.apache.commons.fileupload.*;
    public class FileUploadBean extends Object implements java.io.Serializable{
    String foutmelding = "geen";
    String path;
    String filename;
    public boolean doUpload(HttpServletRequest request) throws IOException
         try
         // Create a new file upload handler
         FileUpload upload = new FileUpload();
         // Set upload parameters
         upload.setSizeMax(100000);
         upload.setSizeThreshold(100000000);
         upload.setRepositoryPath("/");
         // Parse the request
         List items = upload.parseRequest(request);
         // Process the uploaded fields
         Iterator iter = items.iterator();
         while (iter.hasNext())
         FileItem item = (FileItem) iter.next();
              if (item.isFormField())
                   String stringitem = item.getString();
         else
              String filename = "";
                   int temp = item.getName().lastIndexOf("\\");
                   filename = item.getName().substring(temp,item.getName().length());
                   File bestand = new File(path+filename);
                   if(item.getSize() > SizeMax && SizeMax != -1){foutmelding = "bestand is te groot.";return false;}
                   if(bestand.exists()){foutmelding ="bestand bestaat al";return false;}
                   FileOutputStream fOut = new FileOutputStream(bestand);     
                   BufferedOutputStream bOut = new BufferedOutputStream(fOut);
                   int bytesRead =0;
                   byte[] data = item.get();
                   bOut.write(data, 0 , data.length);     
                   bOut.close();
         catch(Exception e)
              System.out.println("er is een foutontstaan bij het opslaan de een bestand "+e);
              foutmelding = "Bestand opsturen is fout gegaan";
         return true;
         }

  • Strange Output From CS3 to Fiery printers

    When we output from Indesign CS3 we get a couple of strange issues to our fiery and one new issue just started with our Harlequin RIP.
    When printing a multi page document to the Fiery's (5 Different ones) sometimes page 1 will be oriented correctly and all of the other pages will be rotated on the sheet and cut off. Also when I go to make changes through command workstation to change duplex settings, image shift etc. It's a crapshoot if it will work on Indesign files. This has been happening with all iterations of Leopard.
    When printing to the Harlequin using a preset envelope template the file is oriented wrong. It doesn't matter if we put the sizes in manually or how we set the orientation in the print window it's wrong. This has been happening for a few weeks.
    Curretly we are on 10.5.5

    Sorry I wasn't clear. The rips are the print servers. They are hooked to a variety of printers Xerox, Konica, Canon and Presstek. The problem is when I send the file and preview it at the RIP. The problems are also there when I output the files from the Rip to the printers.
    The Fiery Problem is ocuring on several different Fiery RIPS each connected to it's own printer. We only have on Harlequin RIP and Device so I'm not sure how widespread it is. The problems do not exist if I send PDF's or other native files such as quark.

  • Openshot + Blender: No frame was found in the Output from Blender

    Can't get this to work. Anyone know why?
    Using  OpenShot version 1.4.0
    blender -v
    Blender 2.61 (sub 0)
    build date: 2012-01-05
    build time: 10:31:02
    build revision: unknown
    build platform: Linux
    build type: Release
    build c flags: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fopenmp -msse2 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -Wall -Wcast-align -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=return-type -Wstrict-prototypes -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wno-error=unused-but-set-variable
    build c++ flags: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D__STDC_CONSTANT_MACROS -fopenmp -msse2 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -Wall -Wno-invalid-offsetof -Wno-sign-compare
    build link flags: -pthread
    build system: CMake
    Blender command: blender -b '/usr/lib/python2.7/site-packages/openshot/blender/blend/blur.blend' -P '/home/user/.openshot/blender/fdd1c574-44dd-11e1-bf0d-54e6fc88c972/blur.py'
    Traceback (most recent call last):
    File "/home/user/.openshot/blender/fdd1c574-44dd-11e1-bf0d-54e6fc88c972/blur.py", line 150, in <module>
    bpy.context.scene.render.file_format = params["file_format"]
    AttributeError: 'RenderSettings' object has no attribute 'file_format'
    No frame was found in the output from Blender
    Blender render thread finished
    Last edited by whoops (2012-01-22 09:47:37)

    yes, that is correct that it crashes with the new code when i have both made it a separate library function node and when i incorporated it into an existing code.  the odd thing is that it actually seems to work now.  i believe that i was using the wrong environment to call the new codes, which is why whenever i tried to revert to the original code previously, it still crashed.  it seems that in order to be called, i need to use Deployment rather than Development and ppc instead of i386 in the active configuration and architecture in Xcode, respectively.  while playing around with the iphone app, it must have reset my defaults to a non-labview friendly form.  so now that i've got that part of the code working, i need to find out why it's still crashing on me.  at first, i thought it must be the random number generator, but testing that separately in the code works just fine, so there must be something internal in the code.  probably a memory allocation fault.  but now that i can actually get everything running once more, i should be able to sort that issue out myself.
    thank you very much for the help.  sorry i didn't actually have anything to fix, unfortunately.  i'm going to spend some time trying to debug this section of code to find where the fault lays.  i may come back if i cannot find it in there, but hopefully it will not come to that.
    take care and many thanks,
    justin 

  • Lower than expected sound output from A100

    Hi.
    I have recently bought a Satellite A100 PSAA9E and have been pretty disappointed with the low sound output from it.
    It's currently set to the highest volume level and is nowhere near the level I would expect.
    Is this normal for this machine? All advice appreciated.
    Thanks.

    Hi
    Well, its not easy to say what a low level is because its your own perception.
    You know that the notebook speakers are not very powerful speakers because of the size and you can not compare it with other speakers.
    But nevertheless; did you check also the settings in the control panel -- Sound and Audio devices?
    There you can set the different sound controls to max. Maybe then you will notice a difference.

  • What is the proper interpretation of the output from PID vi?

    Can someone clarify the meaning of the output from the NI PID vi's? From the documentation for the PID control toolkit, it appears that the output is an absolute quantity and not a delta (change) to the previous output. The problem I have is that if I am running proportional control only, and the controller is moving into a steady cooling air flow rate to achieve my setpoint temperature, the error goes to zero and the output from the controller drops to zero. This completely ruins the temperature control.
    Simply: assume that the output to the control valve I am using needs 12mA (4-20mA controlled) constant value (flow rate) to maintain my setpoint. When the error goes to zero, the controller output goes to zero. This, of course, leads to terrible oscillation etc.
    Other PID implementations I have used are all delta (change) based. In other words, you calculate a P, I, and D correction to the previous output.
    What am I missing? All of the NI labview PID examples use the output directly to drive I/O, and never use it as a change (delta).
    I read this newsgroup's archives and found a similar question, but the answer was not helpful.
    thanks much in advance!

    Hi Darth,
    You have read the documentation correctly. The output of the PID VI is an absolute value. If you are using a P algorithm then you will need to use the PID Output Rate Limiter VI to control the rate of the oscillation. Your other option is to use a PID algorithm rather than just the P algorithm. The I and D portion of the PID algorithm are based on the current and previous error and output respectively. For further information on how the PID output is calculated please reference chapter 2 of the LabVIEW PID Control Toolset User Manual
    Hope this helps!
    Brooks W.
    National Instruments

  • Poor Output from AME (Premiere 4)

    I love Premiere, but I hate the Adobe Media Encoder.  I think part of the problem may be that I am producing custom video for desktop and the web as opposed to media for DVD, Blu Ray, etc.
    I am producing a series of short 16:9  Quicktime videos at a custom size from high-res progressive source files rendered in 3DS Max.
    I have found that the Media encoder settings seem to be very restrictive with regard to bitrate settings, and that the best available quality when encoding to H.264, for example, is just plain crappy, and nowhere near as good as I can produce if I use the Sorenson Squeeze trial.
    I think some codecs are just poorly implemented.  Both of the Sorenson codecs can not be configured, and bitrate options are limited.  The resulting video is horrible compared to the same result from the Sorenson encoder.
    The animation codec for desktop QuickTime is just plain broken.  even at the best quality settings, the output is full of noise and artifacts and is markedly inferior to the output from the video encoder in Max or even in the cheap little Camtasia screen recorder.
    In order to get clean video in QuickTime format, I have tried every combination of codecs I can think of. I can't set the bitrate high enough with H.264 or most lossy codecs, and animation and graphics codecs are clearly broken.  I seem to have to export huge files directly to component or raw output in order to get a high enough quality video.... and then, of course I have to find another tool to transcode that to something I can actually distribute.
    What am I missing? I really want to use H.264. Is there a way to get at the deeper encoding options so I ca set up the VBR options and set a higher bitrate than the little slider on the options panel seems to allow?
    What are other people doing?  Are most people using a third party compression or encoding utility like Squeeze?  If so, it sucks, because I didn't count on having to spend an additional 900 bucks on top of the cost of Adobe Master Collection.

    ThreeDify,
    Thanks for the info.  I will try this out.  I'm getting very discussed with AME.  Yeah, there are lots of presets...but the output is terrible.  Kinda like you find with having to use Squeeze.  Am I missing something?  There are posts all over the place that AME doesn't get it done so to speak.  Where is Adobe addressing these issues?
    Does AfterEffects use a different encoder?  Why can I produce 'high quality' with AE and not with AME???  Yeah it takes longer to encode in AE but the final output is good.  Hmmm.
    My goal here is to render to 1280x720 and make it for presentation with my 'high power' computer.  Then upload it to youtube HD.  When I try to convert it to Youtube it looks like crap.
    Question:  What viewer do you use for .f4v files?  I'm using Adobe Media Player, and the .f4v files I have already made don't look good at all.
    I view with Quicktime and Windows Media Player.  Get two different levels of quality with both.  Same problem on the internet, IE8 doesn't view youtube videos as well as FireFox...  Yes the delima goes on, and on, and on.........
    I have got to get this to work..
    I'm going to watch this thread for awhile.  Hopefully others will share their successes.
    Thanks.
    Dave

  • How to read the output from 'tlist entersq'

    Hi
    Where can I find information on interpreting the output from 'tlist entersq' ?
    We have a box that seems to go into a lock, no communication through network, nor terminal ttya.
    I did an abort on the panel and sync to force a memory dump
    I'm using scat to investigate the result.
    SolarisCAT(vmcore.0)> thread summary
            reference clock = panic_lbolt: 0x114c6f9                             
       11   threads ran since 1 second before current tick (11 user, 0 kernel)
       11   threads ran since 1 minute before current tick (11 user, 0 kernel)
       63   TS_RUN threads (50 user, 13 kernel)
        2   TS_STOPPED threads (0 user, 2 kernel)
       10   TS_FREE threads (0 user, 10 kernel)
        0   !TS_LOAD (swapped) threads
        0   threads trying to get a mutex
        0   threads trying to get an rwlock
      128   threads waiting for a condition variable (89 user, 39 kernel)
        1   threads sleeping on a semaphore (0 user, 1 kernel)
       12   threads sleeping on a user-level sobj (12 user, 0 kernel)
        7   threads sleeping on a shuttle (door) (7 user, 0 kernel)
        0   threads in biowait()
        1*  threads in entersq() (1 user, 0 kernel)
       63   threads in dispatch queues (50 user, 13 kernel)
      225   total threads in allthreads list (159 user, 66 kernel)
        0   thread_reapcnt
        5   lwp_reapcnt
      230   nthread
    SolarisCAT(vmcore.0)>  tlist entersq
      thread        pri pctcpu           idle   pid         wchan command
      0x300027dd7a0 142  0.024       1m41.83s  1684 0x300007fff18 /sz/tcp/bin/tig_tcp.bin
       1 thread in entersq() found.
    threads in entersq() by syncq:
    1 thread: 0x300027dd7a0
    syncq @ 0x300007ffee0
    sq_count: 0    sq_head: 0x30001de6e80  sq_tail: 0x30001de6e80
    sq_evhead: 0xcff010000 sq_evtail: 0x100000000cafe      sq_nqueues: 0
    sq_needexcl: 0 sq_private: 0x3000155dd18       sq_next: 0xbaddcafe
    sq_pri: 276
    sq_occount: 0
    sq_flags: 0x200 ()
    sq_type:  0x0
    sq_svcflags:  0x0
    sq_lock @ 0x300007ffee0:
      adaptive mutex:  owner: 0x0  waiters: false
    per-module syncq for ip
    streamtab @ 0x14ad6b0
    qinit     @ 0x14ad570
    modinfo   @ 0x14ad540
    queues:1 sq_msgs:1 sq_mblks:36 sq_alloc:13247273932581836904
    SolarisCAT(vmcore.0)> thread 0x30001de6e80
    ==== user thread: 0x30001de6e80 address translation failed for pid: 32 bytes @ 0x452e0d0a2a2a2a20
    pid: 0  PIL: 3 ====
    cmd:
    t_wchan: 0x30001dd5640 
    t_stk: 0x1263bfc  sp: 0x0  t_stkbase: 0x30002aa3ec0
    t_pri: 0  pctcpu: 0.000036  t_lwp: 0x30001de0d80  machpcb: 0x30001dd4c08
    t_procp: 0x30002df2900  p_as: 0x30002df2978  hat: 0x6420373031206368address translation failed for hat_3: 80 bytes @ 0x6420373031206368
      cnum: 0x0
    address translation failed for hat_3: 80 bytes @ 0x6420373031206368
      size: 4984936174853958176  rss: 0
    bound cpuid: 768  bound psrset: 768  last cpuid: 0 
    idle: -17371523 ticks (190888 days 10 hours 34 minutes 34.26 seconds)
    start: Wed Jul 10 21:34:52 6497
    age: -3297429488912 seconds (38164693 days 3 hours 48 minutes 32 seconds)
    swapped out: 3298566244800 (190888 days 4 hours 48 minutes 49.63 seconds later)
    interrupted (pinned) thread: 0x30001de6ef8
    tstate: unknown state
    tflg:   T_INTR_THREAD - thread is an interrupt thread
            T_WOULDBLOCK - for lockfs
            T_DONTBLOCK - for lockfs
            T_DONTPEND - for lockfs
            WAITCVSEM - waiting for a lwp_cv or lwp_sema on sleepq
    tpflg:  TP_CHKPT - thread is being stopped via CPR checkpoint
            TP_PRVSTOP - thread is virtually stopped via /proc
            TP_MSACCT - collect micro-state accounting information
            TP_STOPPING - thread is executing stop()
    tsched: none set
    pflag:  SLOAD - in core
            SLOCK - process cannot be swapped
            SPREXEC - process is in exec() (a flag for /proc)
            SSCONT - SIGCONT has been posted to the process
            SBPTADJ - adjust pc on breakpoint trap (/proc)
            SUGID - process was result of set[ug]id exec
            SJCTL - SIGCLD sent when children stop/continue
            SNOWAIT - children never become zombies
            SVFORK - process resulted from vfork
            SVFWAIT - parent of vfork waiting for child to exec
            EXITLWPS - have lwps exit within the process
            SWAITSIG - SIGWAITING sent when all lwps block
            HOLDFORK1 - hold lwps in place (not cloning)
            SMSACCT - process is keeping micro-state accounting
    pc: 0x30003e63600       0x30003e63600:  illegaltrap     0x00000000
    -- no stack --

    Hello ejp,
    First of all i thank you for the reply.
    I explain the process which i am doing in side the thread.
    After connecting to the remote machine, it asks another password.
    so i read the output after connecting. if it equals "password:", then write the 2nd password. then i read the output. it will be like "system>" . if this prompt comes like this, then i write the super user name and super user password. then the prompt will be like "system#". then i write the command which i need to execute and read the output whether the command is success or not.
    So after every output read, i interrupt the thread using interrupt() method. its working fine if i execute via GUI ie, click the button. But its not working when i scheduled this job in a scheduler ie, it will be executed when the time elapsed.
    Give an idea to fix this bug please.
    rgds
    tskarthikeyan

  • Output from Send Unix command stalled

    after send a unix command to a client the output from
    the command stalls. It seems that the output is buffered
    and that the final buffers are not flushed. This behaviour
    is new since 10.5.5 --
    Anyone know of a way to control the buffer size, when
    they are flushed or to how to run unbuffered ??
    ARD 3.2.2 all around and 10.5.6 all around ARD on a Quad Xenon
    and clients iMac Alum

    well this seems to have been a red herring --
    I had not set the "linebuffering" option on the
    command
    the command was lapply from the radmind suite
    needed to set "-i"
    thanks

  • PDF output from RH9 WebHelp

    I am asked to publish some WebHelp content as PDF prior to the infrastructure being available to publish WebHelp.
    My wish is to publish it as PDF but not with a "Printed documentation" look. I want to create a PDFthat looks like Web pages. What is the best way to do this?
    My thought is to publish to Word, then tweak and then save as PDF.
    In RH 9 , what tools are available for creating a good-looking HTML output from Word?

    Thank you Peter. I don't need the PDF output to look exactly like my HTML (even if it were possible, which it isn't). But I want the PDF output to be in a style of presentation optimised for online reading and navigating (rather than printing). There seem to be a number of limitations with both the template and the CSS approach.
    For example, I can force the page size and orientation of the PDF output by modifying the style map template. But some settings don't seem to come across: headers, footers, two-column layout. It seems that RH9 overrides these settings when it produces its "print" output. So the clean-up tasks post-generation render this effort impractical in cases where the source files will be changing frequently. I suppose a clever macro writer could automate the cleanup tasks, but I don't happen to have one at my disposal.

  • Retrieve HTTP Protocol version from HttpServletResponse

    Hi,
    I need to set different headers in my HttpServletResponse using filter. Values of headers depend on version of HTTP - 1.0 or 1.1, thus I need to check the response's protocol version and add different headers to my response.
    For now I can see using external tool that each my request is HTTP 1.0 and each response is HTTP 1.1. How can I retrieve protocol version from response in my Filter?
    I cannot use protocol version from request, because as I said request and response have different versions of HTTP somehow.
    So how can I retrieve protocol version from HttpServletResponse?
    Thanks in advance.

    You need to read the Sun J2EE tutorial on filters. One of the things you will find is that you can not directl access and change the ServletOutputStream of the response object. You need to write a wrapper around the response object that contains you own output stream. Then you can read the data in this stream, parse it looking for the HTTP protocol version and add your additional headers. You then write the new data to the original ServletOutputStream of the response object which gets sent to the browser.
    I beleive there is an example of this in the tutorial. There are also examples available on the web and on this forum.

  • Discoverer report - Output from Discoverer plus is not the same as Discoverer desktop

    As a part of Upgrade project we are migrating the discoverer reports from 11i (11.5.10.2) to R12 (12.1.3) .After migrating to R12, for a custom discoverer report the output given by discoverer desktop is correct (24 rows for a scenario). But the report output from Discoverer plus does not show the credit transactions (2 rows). The output from Discoverer plus shows only 22 rows (24 - 2), which is incorrect. The query is the same in Discoverer desktop and Discoverer plus.
    Please let me know why these transactions that are appearing when the report is run from discoverer desktop are not appearing in discoverer plus. Is there any setup in discoverer plus for this?
    Regards,
    Brajesh

    Pretty hard to answer a question like this.  Best bet would be to copy the existing discoverer plus book and start removing conditions, fields, etc until those two rows from desktop show up and see if you can work it out. 

Maybe you are looking for

  • Error while changing the physical IP address of SOA related datasource

    Hello Everyone!!! I am facing a problem while changing the ip address of my SOA related datasource in weblogic 10.3,Below is a brief description about my prb: I have created a domain in weblogic 10.3 and have configured a datasource to it and its wor

  • Internal table for F4 help

    I want to populate values for F4 help. But for the field for which I need F4 help, the values are present in the value range at the domain level of the data element of the field in the table. So how do I fill up the internal table? Thanks and regards

  • Microsoft DNS and 3rd Party DHCP (Infoblox)

    We are running Microsoft DNS with Infoblox as our DHCP and IPAM system. We realized that DHCP is not removing PTR and A records when an IP is released. We want to make sure that DHCP does do this but there is no information on how. We believe we need

  • JTable - adding new row

    Hi Can someone help me. I have a JTable with a ADD button. When I select the ADD button, I want to be able to bring up a dialog to enter the data for the new row and then click OK on this dialog. Does anyone have simple code that does this? Regards

  • Will CS5 Bridge transfer to Lightroom 3?

    I'm currently using CS5 Bridge and was wondering if I used Lightroom 3 whether all of my information (star ratings, collections, etc.) would easily transfer.  I understand Bridge is "on its way out" in the future and am concerned that my current orga