File content not being displayeddisplaying properlyed

Hi
I have done
cvs diff between two tags e.g. tag1 and tag3
and stored the result in one file named diff.txt.
I want to display the contents of diff.txt on browser using servlet.
But the problem is that only content related to Tag2 is being displayed (or more precisely the second tag).
But the diff.txt is having the complete contents.
It is only during the servlet exceution and file reading in that I am getting only one tag contents.
There is no exception being displayed.
Following is the code related to file handling.
=============
BufferedReader bf = new BufferedReader(new FileReader( "/home/infyCM/diffSVN.txt"));
while(bf.readLine()!=null)
out.println(bf.readLine());
bf.close();
================
~aman

BufferedReader bf = new BufferedReader(new FileReader( "/home/infyCM/diffSVN.txt"));
String line = null;
while((line = bf.readLine()) !=null)
out.println(line);
bf.close();
}Replcae the code like this.

Similar Messages

  • HTML file is not being shown properly in the JEditorPane

    Hi,
    I am using JEditorPane to display an HTML file from the local disk. This HTML file contains the html tables. Now when this file is getting displayed in the JEditorPane, one top row grid is not being displayed in the editor pane. content of the row is there...but the column grid is missing. All other rows and columns are being shown but the first row-column grid which contains the heading for column.
    Also when I m printing the content of this JEditorPane using Java Print API then no grid is being printed on the paper. content is coming properly but no table grids. when i have taken the print out of the original html file from the browser then table grids are being printed out properly.
    Please do help me out in showing the HTML file in the JEditorPane properly and printing the same.
    Many Thanks,
    gshankar

    Hi,
    JEditorPane renders HTML with many limitations.
    You can use JDIC for the same. refer: jdic.dev.java.net
    But JDIC does not work on windows 98.
    Anand

  • [svn] 1978: Bug: vendors. properties file which is used in vendor specific login commands was not being read properly and as a result some login related error messages were not being displayed correctly .

    Revision: 1978
    Author: [email protected]
    Date: 2008-06-06 08:05:34 -0700 (Fri, 06 Jun 2008)
    Log Message:
    Bug: vendors.properties file which is used in vendor specific login commands was not being read properly and as a result some login related error messages were not being displayed correctly.
    QA: Yes - we need automated tests to make sure that errors.properties and vendors.properties in BlazeDS/LCDS are loaded properly.
    Doc: No
    Modified Paths:
    blazeds/branches/3.0.x/modules/common/src/java/flex/messaging/util/PropertyStringResource Loader.java
    blazeds/branches/3.0.x/modules/opt/src/jrun/flex/messaging/security/JRunLoginCommand.java
    blazeds/branches/3.0.x/modules/opt/src/tomcat/flex/messaging/security/TomcatLoginCommand. java

    I have a lot of grief with this version of Windows Media Player.
    It is very buggy and frustrating to use.
    I have my Music library on a QNAP NAS, which is as reliable as they come.
    System notifications make it not save changes.  It also does not do a good job of interpreting albums and artists from folders.  Changes to track names are not saved, nor are tracks moved to other albums, renamed albums, changes to genre, artist
    or date.  It separates and merges albums/tracks without sense or reason.  Some changes I've made up to 4 times, then closed WMP and re-started my machine to check if it has/hasn't saved the changes.  Often it has not.
    This is the first time I've used WMP in this capacity, and I do not recommend it.
    New service pack please.

  • " File does not being with %pdf"

    Sir
    I have download a file from website. I use windows7 os. But there is a problem that a massege display " File does not being with %pdf". this problem is same in other browsers like- mozela firefox, google chrome etc. I use adobe reader 11. Please tell me its solution in detail.

    Originally posted by: bryant.harris.irisfinancial.com
    Upgrade to 2.1.0. The font stuff is fixed in 2.1.0
    Bryant
    "Brian Kallay" <[email protected]> wrote in message
    news:ege41t$9qp$[email protected]..
    > Hi,
    >
    > I am running BIRT 2.0.0 and pdf generation which works properly on windows
    > is not working correctly on linux (Red Hat Enterprise Linux ES release
    > 3). I am able to generate pdf's from charts but textual reports display
    > varying results from completely blank to "File does not begin with
    > '%PDF-'" errors depending on the report being used.
    >
    > I did find the following on a BIRT 2.0.1 project plan page, however I was
    > not able to find anything corresponding in bugzilla:
    >
    > "BIRT Runtime can not find font for PDF generation on Linux. PDF document
    > is missing text content although it displays images and outlines of
    > tables."
    >
    > This seems to describe the behavior I am seeing in many cases, however
    > with very simple reports the pdf contains the header row with the first
    > column header displayed so fonts are not failing completely.
    >
    > I am going to try upgrading to the newest BIRT version but I am hoping
    > that someone can confirm this is in fact a bug and not a configuration
    > issue that has a workaround for 2.0.0.
    >
    > Thanks,
    > Brian

  • ALL OF MY FILES ARE NOT BEING SAVED WHEN I CLOSE FINAL CUT PRO X ?

    ALL OF MY FILES ARE NOT BEING SAVED WHEN I CLOSE FINAL CUT PRO X ?

    WHAT FILES AREN'T BEING SAVED? WHAT FILES ARE SAVED?

  • JavaScript files are not being updated while updating managed solution over Dynamics CRM Online

    Hi Support,
    While I am updating a managed solution over Dynamics CRM 2013 Online, JavaScript files are not being updated and is showing the source as of the last version of the managed solution. 
    I tried the same versions of solution on my CRM 2013 on-premise install (test organization) and it updated successfully.
    This is a bit urgent issue. Please suggest how to resolve this.
    Online version of the CRM is
    Microsoft Dynamics® CRM Online Spring '14
    (6.1.1.1855) (DB 6.1.1.1847)
    blog: <a href="http://technologynotesforyou.wordpress.com">http://technologynotesforyou.wordpress.com</a> | skype: ali.net.pk

    Our technical team managed to find the immediate cause for the problem, and a solution.
    According to them there was a corruption on a speciffic OLAP file. By deleting it, they allowed it to be recreated on the next application processing. The file in question was found in \Microsoft SQL Server\MSSQL.2\OLAP\Data\UGF.0.db\<APPLICATION>.38.cub.xml
    Where <APPLICATION> is the name of the problematic cube.
    After that everything is working.

  • Images and .properties(bunldes) files are not being found from my JSPs

    Hi,
    I have created .ear file by using ANT Application. And deployed into Oracle9iAS(OC4J). Here problem is that images and .properties(internationalization bundles)files are not found from JSPs.
    Here is my directory structure.
    public_html--->locale -->BusinessEntity -->businessentity_en_US.properties
    --->enterprise -->images -->knowldege.jpg
    --->BusinessEntity-->BEAdd.jsp
    in my jsp bundle(.properties)file is accessed like this:-
    <i18n:bundle baseName="/locale/-->BusinessEntity/businessentity" id="businessentity" locale="<%= locale %>" />
    in my jsp images accessed like this:-
    src="/enterprise/images/knowldege.jpg".
    In my working environment, without creating .ear file, images and .properties files are being found my JSPs. But if i create .ear file and after deploy, images and .properties files are not being found my JSPs.
    please let me know where i might did wrong
    thanks in advance
    srinivas

    Hi i am again. Here is my configuration files(server.xml and default-web-site.xml)
    server.xml :-
    <?xml version="1.0"?>
    <!DOCTYPE application-server PUBLIC "-//Evermind//DTD Orion Application-server//EN" "http://xmlns.oracle.com/ias/dtds/application-server.dtd">
    <application-server application-directory="../applications"
    deployment-directory="../application-deployments"
    >
         <library path="../tools.jar" />
         <rmi-config path="./rmi.xml" />
         <jms-config path="./jms.xml" />
         <log>
              <file path="../log/server.log" />
         </log>
         <transaction-config timeout="30000" />
         <global-application name="default" path="application.xml" />
         <application name="nalluri" path="../applications/trainiumear.ear" auto-start="true" />
         <global-web-app-config path="global-web-application.xml" />
         <web-site path="./default-web-site.xml" />
         <cluster id="-1640090707" />
    </application-server>
    default-web-site.xml:-
    <?xml version="1.0"?>
    <!DOCTYPE web-site PUBLIC "Orion Web-site" "http://xmlns.oracle.com/ias/dtds/web-site.dtd">
    <web-site port="8888" display-name="Default Oracle9iAS Containers for J2EE Web Site">
         <default-web-app application="nalluri" name="Commonwar" />
         <access-log path="../log/default-web-access.log" />
    </web-site>
    thanks in advance
    wating for reply
    srinivas

  • OHS - Protocol (Periodic) Next due dates are not being captured properly

    Protocol (Periodic) Next due dates are not being captured properly in the Planning Cockpit (EHSH_D_PCP) report nor the Protocol report (S_SH8_7200013).  The Planned date is not resetting itself for the medical service sometimes.
    Any idea what might be causing this issue?
    Regards
    Naveen

    HI Naveen
    Have you overridden the std BADI for calculating Next due date?
    Thanks
    Jagdsh

  • My files did not down load properly do not have two files zip or second folder help

    files did not down load properly need help need to build website for class do not have the zip file or second folder new to this

    Hi
    could you tell, does it gives you any error when you try to download raw files
    and i would recommend you do update the camera raw plugin
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh : Adobe DNG Converter 8.2

  • QT files are not being played at the right height on laptop - why?

    Hello eveyone,
    The QT files imported in my MacBook pro are HQ but are being played 1280 x 405 (for the length of the screen, but not at the right height). I can't even play view them with the Actual file feature. The Movie Inspector tells me the clipes were shot normal (1920x1080) yet I can't se them properly.
    I tried on a different MacBook pro and I have the same problem.
    Does anybody know why? What should I do?
    Thanks!

    Actually, there is no problem with the original files.
    Since I do not know how you came to this conclusion or if it is correct, my first thought is, "Show me the proof." I.e., post a captured image of the "Inspector" window for the player you are currently using. This will tell me which QT player you are using, whether the display is controlled by scaled dimension or aspect ratio settings, whether the file was encoded anamorphically or non-anamorphically, and whether the encoded aspect ratio matches the current display aspect ratio. It won't tell me the true aspect ratio of the video but a look at people and objects in a single video frame will normally disclose whether or not the display aspect is reasonably close or not.
    If I import them in say Final Cut Pro, I can see them properly...so it's only the Quick Time on our laptops that display the clips wrong.
    This isn't really helpful since FCP has settings that allow the user to both change and scale display dimensions and aspect ratios. QT 7 Pro will allow you re-scale the aspect ratio of a display but not alter its encoded aspect ratio while QT X will allow you to resize the display scale but only in reference to its encoded aspect ratio. Neither will allow you to display a file at dimensions greater than your current video card settings (i.e., where actual dimensions are greater than screen display resolutions for the encoded aspect ratio). In a similar manner, "fit" and "fill" option availability will also depend on the device/player and available screen resolutions/aspect ratiios which you have yet to indicate for either platform previously mentioned.
    The full length of the screen, but not the full height... Do you have any advide on how to get the settings done? I looked into the QT settings and coulnd't find the right button/panel...
    As previously stated, the first step is to determine if the files are being displayed correctly—i.e., at their correct aspect ratio for the allowable display space available for the current screen resolution available on the platforms being used for viewing. For instance, are you viewing in the full screen mode, or with menu bar being displayed and/or with the dock in or out of active display. These settings plus the video card screen resolulution will determine the maximum number of viewing pixels available fort the display height. Once the scale height is set by the QT player, then QT app will scale the display width to what it believes is correct display setting. If the aspect of the display is correct for the scaled height and width, then the file is being displayed correctly at the maximum display height available and there is nothing wrong and nothing to be corrected either in the file or the media player other than your desire to play a file at dimenensions larger than available for your display. (I.e., this is equivlent to saying you want to display a 52 inch diagonal picture on 32 inch HDTV—"it ain't gonna happen."
    On the other hand, if the aspect ratio is incorrect for the maximum display height available for the app, system, and platform being used for viewing, then all of the other things I mentioned come into effect with regard to correcting the embedded display settings within the file.
    Example: If i take an anamorphically encoded 1440x1080 (1920x1080) file and display it on my monitor set to a resolution of 2560x1440, then I can display the file at its "actual" display size (1920x1080) or even scale it to 2560x1440 (Full Screen Display mode) but if I reset my monitor to a  4:3 aspect resolution of 1600x1200, then I cannot play the file at its actual 1920x1080 display resolution since its width is limited to 1600 pixels and when the 16:9 aspect ratio is applied to the 1600 pixel display width, the display height is limited to 900 pixels in a "Fit to screen mode."
    If your source file was recorded at 1920x1080, then the file's aspect ratio is 16:9 (1.78:1). However, your 1280x405 screen size implies that either the file is now being displayed in the "Fit" mode with a changed aspect ratio of 3.16:1 (1280x405) or that you are viewing the file in the "Fill" mode which chops off the top and bottom of your 1280x720 (1.78:1) display. (I.e., the "Fit" mode will scale the display at its current aspect to fit within the available display area and yet allow you see the entire display area as a "scaled view at the correct aspect while the "Fill" mode scales the video to fill your entire screen even if this means losing the top/bottom or left/right portions of the display area when the monitor resolution aspect ratio and video display ratio are not the same.)
    Therefore, if your file is correctly formatted as you claim, use the "Command-F" QT shortcut to view the file at its largest available dimensions at the correct aspect ratio on any platform and using either the QT X or QT 7 player. (Don't forget to set the QT 7 "Full Screen" preference.)

  • EC SALES LIST - Belgique: XML file: Content not accepted in prolog

    Hy tou you all,
    We've implemented all Ec sales list note oss for Belgium but at the upload in the delcaration vat system the xml file is not accepted : "Content not accepte in prolog"; Did this message encured to you ?
    Thanks,
    TF

    HI,
    I hope you are asking about below legal changes
    http://www.minfin.fgov.be/portail2/fr/e-services/intervat/calendrier.html
    and SAP DS colleagues are working on same and they are planning to release the note
    within soon.
    For same information will check the service market place.
    Thank you.
    Regards
    Madhu M

  • Sharepoint Foundation 2010 some document content not being crawl

    Hi,
    I have run sharepoint foundation search job and full craw as below :
    > Stsadm -o spsearch -action fullcrawlstart 
    BUT in the same word document some contents were being crawled but some of it not.
    Example Below : I can search "Border Terraces" but when I key in "BT140" it always return "We did not find any results for BT140."
    WHY???
    ======================================
    Date: 29.04.14
    Invoice: BT140             
    To: Border Terraces

    Did you add your site to trusted site list?
    http://sharepoint.stackexchange.com/questions/15098/your-client-does-not-support-opening-this-list-with-windows-explorer
    --Cheers

  • File Options not being saved

    I appologize if this is the wrong forum, but I did a search and failed to find a related subject.
    When I click on File>Options then modify them the way I want to, then close Designer 2008 and reopen it, they're back to the default values.
    How can I retain my options even after closing designer and reopenning?
    Thanks much!

    What version of Crystal are you using?
    Are you a local PC Administrator also?
    Try right clicking on the crw32.exe and selecting Run As Administrator and then change them.
    Are you clicking the OK or Save button after making changes or simply closing the window using top right X button?
    Those options are saved to the registry, only reason they are not being saved is you don't have permission or some anti-virus software or Restore Point is writing the original settings back when you close CR.
    You may want to check with your IT people to see if they have pushed out some sort our Profile update that doesn't allow you to keep changes to the registry.
    After making the changes and you create a new report do you see the changes? Don't close the designer.
    Thank you
    Don
    Edited by: Don Williams on Apr 6, 2011 12:52 PM

  • Files are not being copied to the bin-debug folder

    All my assets swfs are in a folder named "assets/swf" under the "src" folder.
    The "Copy non-embedded files to output folder" is checked. BUT the folder is not being copied to the bin-debug...
    This is also true for Icons folder (Also under "src")
    Any idea why?

    Bump!
    comon I can't be the only one with that problem...

  • Facet secondaryToolBar not being executed properly

    Hi Folks,
    I used Goldin's pagination solution, but I am having some issues.
    Paging of large data sets - SOLUTION
    http://vgoldin.blogspot.com/2008/02/myfaces-trinidad-working-with-large.html
    I saw that this is an asynchronous call.
    The search button calls an action event at my Backing Bean that creates a PagedListDataModel.
    The creation does not start a call to the EJB until the af:table needs it.
    After executing the RENDER_RESPONSE (afterPhase), the ADF Table starts to render and call the PagedListDataModel to get the page and print the records (famous Extracting Data... message).
    My table is updated properly and also the total of records is being print in the statusbar facet of my panelCollection that is being used around the table.
    The problem is with secondaryToolBar facet that has two buttons for EXPORT function (EXCEL and PDF). These buttons are not being updated.
    Since it is an async call, I tried to put a partialTarget on the buttons after calling the EJB and getting the list of records without success.
    I also tried to put a partialTrigger on the buttons for both table and panelCollection without success.
    I created a generic (any phase) phase listener in order to check how the things are going and saw that (in this order):
    . All the faces are executed (from RESTORE till RENDER). In the invoke application phase it just call the backing bean method and creates the PagedListDataModel.
    . After all the phases have been executed, the listener takes place and after all needed have been returned, TWO phase (ONLY TWO) are being executed (RESTORE and RENDER).
    Could you please anyone here give me a hand? :-)
    Thanks in advance.
    Ricardo Morais

    Hi,
    Can you please check whether the configuration of material availability check in PS is proper and in place or not. Please check the following sap help link on material's availability check in PS:
    Material Availability Check - Material - SAP Library
    Regards
    Saurabh

Maybe you are looking for

  • How do I convert the single x and y coordinates returned by a CWGraph Click event to the Cursor X and Y Positions?

    I am trying a work around for another problem. cwCSnapNearestPoint does not give me a CursorDown event (TrackMode = cwGTrackDragCursor). I need to know when the user has clicked on a Cursor. I need to figure out when the user has clicked on a cursor.

  • Dreamweaver Portfolio

    I started a new Dreamweaver site to showcase my portfolio. I liked what was going on with Lightbox/FancyBox and was messing with that. http://fancybox.net/ My question is is there a better way or something to have a page of thumbnails but some be ima

  • Merge documents with external links

    Hi all, I am wondering if there is a way to automatically change external links to internal links upon merging two or more documents. For example: I have a pdf document containing a table of contents with links that point to separate "section" or "ch

  • Installing Indesign CS4 Trial Version

    I am trying to download the trial version of Indesign CS4, when I get it downloaded and try to launch it says opening adbeidsncs4_LS1.dmg it goes through but when it is complete a screen pops up that says 'the following disk images failed to mount--a

  • Need java code to make MySql Dump?

    Do anybody know how to write java code to make MySql Dump. I am badly need of this code very urgently!, do any body here to help me! Kindly help me out.