JSP and large text issue

hello,
i have some large text type defined on a JSP (using <TEXTAREA>). they are defined as CLOBs in the DB. now when i save it, it saves ok in the DB. but when i view it in the JSP, the saved data contains "<BR>". i do not get it from where this come from. any idea to find and resolve it?
thanks

Who in the world actually looks at a 100,000 row report?
Anyway if I were you and I had to do it because some clueless management person decided it was a good idea... I would write a program in something that once a day, week, year or whatever your time period produced the report (in maybe a PDF fashion but you could do it in HTML if you really must have it that way) and have it as a static file that you link to from your app.
Then the user will have to just wait while it downloads but the webserver or web applications server will not be bogged down trying to produce that monstrosity.

Similar Messages

  • JSP and large amounts of data

    Hello fellow Java fans
    First, let me point out that I'm a big Java and Linux fan, but somehow I ended up working with .NET and Microsoft.
    Right now my software development team is working on a web tool for a very important microchips manufacturer company. This tool handles big amounts of data; some of our online reports generates more that 100.000 rows which needs to be displayed on a web client such as Internet Explorer.
    We make use of Infragistics, which is a set of controls for .NET. Infragistics allows me to load data fetched from a database on a control they call UltraWebGrid.
    Our problem comes up when we load large amounts of data on the UltraWebGrid, sometimes we have to load 100.000+ rows; during this loading our IIS server memory gets killed and could take up to 5 minutes for the server to end processing and display the 100.000+ row report. We already proved the database server (SQL Server) is not the problem, our problem is the IIS web server.
    Our team is now considering migrating this web tool to Java and JSP. Can you all help me with some links, information, or past experiences you all have had with loading and displaying large amounts of data like the ones we handle on JSP? Help will be greatly appreciated.

    Who in the world actually looks at a 100,000 row report?
    Anyway if I were you and I had to do it because some clueless management person decided it was a good idea... I would write a program in something that once a day, week, year or whatever your time period produced the report (in maybe a PDF fashion but you could do it in HTML if you really must have it that way) and have it as a static file that you link to from your app.
    Then the user will have to just wait while it downloads but the webserver or web applications server will not be bogged down trying to produce that monstrosity.

  • BACKGROUND COLOUR AND HIGHLIGHT TEXT ISSUE

    Hi, Just registered and I'm keen to ask you a pressing question. Setting background color different from white and adding highlight text causes the two colors to blend together i.e. the highlight color is not as vivid as applied over a white background or for instance as in a MS Word document. I'm expecting and appreciating your opinion.

    Of course. Mix two colors and a new, different color comes to be.
    Two primaries will yield a secondary (yellow + red = orange).
    Optics, not the software application eh.
    Try using a different highlight color with the designated background color.
    Try using  different opacity values for the highlight color.
    Try using different opacity values for the background color.
    Review the theory and practice associated with the color wheel to identify the most harmonious (for you) colors.
    Be well...

  • Sub totals and Sort Text issue in ALV report

    Hi,
    I have requirement for list of Purchase orders.
    1st. sort the list by vendor (This i did by using sort)
    2nd. Vendor name should be display after sorting the lines.
    3rd  should count the no lines which has mark 'X' in field ELIKZ and sum the total counts and display it for every vendor after the sorted line.
    I could sort the list by vendors. but don't know how to display the vendor name after those lines. then sub total also.
    Please help
    Moderator Message: spec-dumping is not allowed. Please use the availble resources and put some effort from your end.
    Edited by: kishan P on Oct 27, 2010 3:02 PM

    Hi,
    I have requirement for list of Purchase orders.
    1st. sort the list by vendor (This i did by using sort)
    2nd. Vendor name should be display after sorting the lines.
    3rd  should count the no lines which has mark 'X' in field ELIKZ and sum the total counts and display it for every vendor after the sorted line.
    I could sort the list by vendors. but don't know how to display the vendor name after those lines. then sub total also.
    Please help
    Moderator Message: spec-dumping is not allowed. Please use the availble resources and put some effort from your end.
    Edited by: kishan P on Oct 27, 2010 3:02 PM

  • LineChart and -fx-text-fill issue: how do I change the color of the labels

    Hello everyone,
    I'm currently facing an issue when I'm trying to style my LineChart with some CSS. Indeed I would like to change the color of the labels of my xAxis (CategoryAxis) and yAxis (NumberAxis) but it's not working.
    In my FXML file I tried to use the style attribute on my LineChart tag using: <LineChart style="-fx-text-fill: white"> with no result, the text remains black (even for the title of my chart). In order to know if the style attribute is well parsed I changed it to: style="-fx-background-color: red; -fx-text-fill: white;". The background is becoming red but the text still remains black.
    Finally I tried to define a stylesheet in my controller class with the same properties (red background and white text). My stylesheet is this one:
    .chart {
        -fx-text-fill: white;
        -fx-background-color: red;
    }In my controller I do the following line in order to load my CSS file:
    this.chart.getStylesheets().add(getClass().getResource("statistics-style.css").toExternalForm());Even with this option the text remains white, while the background becomes red.
    What I also tried is to put the -fx-text-file CSS property directly on my axises, but again it seems it is ignored.
    I followed the steps described in Figure 8-2 of this site: http://docs.oracle.com/javafx/2/charts/css-styles.htm
    Does anybody have an idea or encountered this issue?
    Thank you very much,
    Thierry.
    PS: I'm using JFX 2.1 on MacOS X
    Edited by: twasyl on May 8, 2012 7:57 AM
    Edited by: twasyl on May 8, 2012 7:59 AM

    Hi,
    I figured a solution out to solve my problem. Currently in the documentation it is said to redefine the .chart CSS class in order to change the color of the title and labels text. But this is not working. Strangely the following code changes the font-size of both title and labels but ignores the -fx-text-fill property:
    .chart {
      -fx-font-size: 20pt;
      -fx-text-fill: white;
    }In order to change the color of the title I override the .chart-title CSS class:
    .chart-title {
      -fx-text-fill: white;
    }And for the labels:
    .axis-label {
      -fx-text-fill: white;
    }Well I don't know if there still is a bug on the .chart CSS class or maybe that behavior is expected.

  • I am using an early 2008 MacBook Pro and am having issues with it deleting text on its own (in word, emails, etc.). As I am typing it all of a sudden starts deleting and I can't stop it. What can I do?

    I am using an early 2008 MacBook Pro and am having issues with it deleting text on its own (in word, emails, etc.). As I am typing it all of a sudden starts deleting and I can't stop it. This happened once before and it was due to a buldging battery pressing on the track pad. I checked the battery and it appears to be fine. What can I do?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up guest users” (without the quotes) in the search box. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    *Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • Difference between text size in General setting and  large type in Accessibility settings

    Difference between text size in General settings and large type in Accessibility settings?

    None that I can see.

  • Editing and changing large text file

    hi,
    new to this, so bare with me.
    got a large text file 44meg and i need to change some values in it.
    example:
    TSX ;20030102;40302216;40300579;1980;1900;3762000
    i need to change the lines so that they read:
    TSX ;20030102;302216;300579;1980;1900;3762000
    thus removing the leading 40 in the middle cols.
    Thanks in advance
    john

    crap, small mistake
    1) use BufferedReader to read in the file line by line (BufferedReader.readLine())
    2a) for each line, split it on the semicolons (String.split())
    2b) change the middle value using String.substring()
    2c) construct a new line by appending all strings in the array returned by 2a) to eachother
    2d) write this new line to a file using PrintStream (PrintSteam.println())
    3) when done, close both the reader and the printstream.

  • I want Firefox to not be so wide so I need to scroll back and forth with much needed larger text

    I want to have large text, but narrower windows. Every time I need to make text larger for certain sites; it makes my viewing window wider so I have to scroll back and forth to read. I once had an add on to keep the window the same size in width, just with longer windows, which I don't mind. I can't remember what it was called. Therefore I can't find it to download.
    Please help.

    Thanks for the help, Gryllida, I've tried the zooming in/out feature, but it seems to only work on the headers or headlines on some sites; and still the reading text stayed small. I think I'll try the extension instead.
    Boy, I do remember using Opera too.
    My new computer came yesterday, I'm going to install Ubunbtu instead of windows. It's a barebones kit.
    ☺♥

  • When I cut and past text from Firefox to Microsoft Works I get an error stating 'Out of memory, close applicantions and restart windows'. This does not work. When I had IE I never had this issue. Help!

    When I try to cut and past text from Firefox to Microsoft Works I receive an error that says 'Not enough memory, close applications and restart windows'. This never works! I never had this issue with IE! How can I fix this issue?

    If the crashing only happens with other peoples projects it could be for a variety of reasons. There are tons of asset references saved in the library (the location every item was imported from) and much more. None of those locations will exist on your system and internal complications may simply happen, especially with any runtime shared assets.
    If possible you should consider adding more system RAM so you can multi-task. RAM is extremely cheap. I'm assuming from a smaller 500GB HD and 4GB RAM that you're probably on a laptop however. Installing RAM is still usually pretty easy if you have the notebook manual (or grab it online). It typically involves just lifting the keyboard or opening a single panel on the bottom of the notebook but it varies greatly. At any rate, 8GB RAM would help you quite a bit. If you do, just make sure you get the correct type of RAM (again, in the specs in your manual).
    Even when you run out of physical RAM, Flash (like any other application) will still see more RAM based on the OS's swap memory setting (using available space on your HD as RAM). It will get much slower but Flash should see the total amount the 32bit OS can handle for RAM (it doesn't know if it's physical fast RAM or SWAP (fake) HD RAM though). If you open other apps with Flash they should also operate, but will also use swap RAM and you've probably noticed your HD crunching a lot while more apps are open.
    That said, I have a 4GB RAM in my older i7 lappie and have used Flash CS5.5 and CS6 on it extensively, with other applications open. Although my projects contain mild assets and mostly tons of code. No issues at all. I just think your heavy assets are crashing you.
    Either way, glad you got your work done. You're welcome and good luck!

  • HT1430 hey, I just reset my Apple ID and suddenly much of my Iphone text history disappeared.  and I can send texts, but not receive any.  what do I do?  is this related to AppleID, or is the text issue from something else?  thx!

    hey, I just reset my Apple ID and suddenly much of my Iphone text history disappeared.  and I can send texts, but not receive any.  what do I do?  is this related to AppleID, or is the text issue from something else?  thx!

    Hi blyther,
    Thanks for using Apple Support Communities.  If you're unable to receive texts, see this article for troubleshooting steps:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    Cheers,
    - Ari

  • HTC 8X Windows Phone Texting, Missed Calls, and Turn-Off Issues!

    First let me say that I've had my Windows 8x phone almost since they first came out and HAVE LOVED IT UP UNTIL the last 5 to 6 months so I don't think the problems are in the hardware or have anything to do with a "paper" SIM card (although - how could I know because we can't take the COVER off!)
    Anyway, about 5 - 6 months ago, I started noticing the following:
    my battery life (which used to be FANTASTIC) was occasionally dying very rapidly but then would be fine again
    I'm getting "No Service" in places where I SHOULD BE.
    My text messages no longer go through.  Once and awhile I can get them to go through and then they're locked out again.  I've tried all of the tricks people have mentioned on this board - sometimes they work; sometimes they don't. Nothing is consistent.  Nothing seems to REALLY fix it.
    My phone is turning off even when I DO still have quite a bit of battery left.
    My phone will be sitting right in front of me, will NOT ring, and I'll pick it up later only to see that I've "missed" 3 calls!
    I've been quite fed up with a phone that I USED to love and I've been quite fed up with Verizon!
    SOMETHING has changed in the past several months and I wish SOMEONE would tell us what it is!
    I contacted Verizon over the weekend and asked what could be done since I'm not eligible to upgrade until December.  Based on everything I've read on this board, I wasn't interested in getting a replacement phone of the same type and I need a phone that works.  I simply wanted them to waive my upgrade constraint so I could get a reliable phone. ONE representative tried to help me but our call was mysteriously cut off!  He didn't call ME back and when I tried to call back in, I wasn't able to reconnect with him.  The next rep I got was the typical drone that only knew how to follow the standard script and had me take my SIM card in and out to make sure it was installed properly (GIVE ME A BREAK!) etc., etc.!  Once I successfully proved that I was not a Tier 1 bloody idiot, I had the pleasure of waiting two hours to be connected to Tier 2 support. (Thankfully after being hold for about 45 minutes, the rep offered to call me back and actually did once he reached Tier 2 support).  Both reps acted as if they'd NEVER HEARD of these issues before but after stating THAT, surprisingly, the Tier 2 rep, was THEN able to tell me whether customers WERE or WERE NOT satisfied after receiving replacement phones. 
    Anyway - it looked like my only option was to agree to a replacement phone and their scary letter about how if I return MY phone it is is deemed "damaged" that I may be charged up to $500!  Well, now that I look at it, the replacement phone has the same software version on it that MINE does so HOW IS IT GOING TO BE ANY BETTER THAN MINE IS?! 
    I am so disgusted.  Verizon can break our phones but feels absolutely NO RESPONSIBILITY to FIX them and then treats US like we're at FAULT!  All I want is a phone that works!  I NEED a phone that works.  And with the prices we're all paying, it is certainly a REASONABLE request!

    Andrea -
    Thank you.  I do appreciate your response.  I was hesitant to bother but I
    did activate the replacement phone and I will admit that SO FAR (about 4
    days) that it is functioning OK.  I have it set to NOT do any updates. The
    NEED to do that bothers me a bit but that may be the only way to "survive"
    the situation.  I am still having problems with spotty reception is some
    locations, but at least it isn't telling me that I have no service.  The
    battery has been back to full functionality and I'm able to send and
    receive texts again.
    I'm still angry that this type of thing can happen and that Verizon makes
    no concessions, but I do appreciate the replacement phone and hope that it
    keeps working.
    Thanks again for your response.
    On Sat, Jun 21, 2014 at 8:52 AM, Verizon Wireless Customer Support <

  • Issue with Sinhala and Tamil text in Illustrator

    I have some text sent to me from Sri Lanka in Microsoft word - Tamil (Arial Unicode MS) and Sinhala (Iskoola Pota). In the Microsoft Word document they appear correctly.
    I need to transfer this text into Adobe Illustrator. When I do a direct cut and paste, the characters for both languages appear distorted with some characters jumping ahead of others.
    I have tried to cut and paste it into Notepad and then insert it into Illustrator but the same thing happens.
    I have selected the appropriate fonts as outlined above in Adobe Illustrator.
    I also have unicodes installed into my computer.
    Is there a way to transfer Sinhala and Tamil text from Microsoft Word into Illustrator and for the characters to remain as they are in Word?
    Thanks in advance for your help!

    Hi larry. Yes I have the fonts installed - from http://www.locallanguages.lk/
    I have tried it in Indesign and the same thing happens - refer to image below. The top text is in Indesign. The bottom is the correct version in Word. There are slight changes to the characters in the first two words, and then in the third word you can see that it has switched a character all together.

  • Why my bookmarks don't have their sitelogo anymore and the text is larger?

    My computer crashed and I had to reinstall windows XP. After i had isntalled it and reinstalled Mozilla also my web browser window is different. The bookmarks don't have their sitelogos anymore and the text is allmost double in size. How can fix this or am i missing some programs?

    Did you restore any Firefox files (program / profile) from before that reinstall?
    Did you make changes to the DPI settings in Windows (Control Panel > Display) ?

  • Arbitrary waveform generation from large text file

    Hello,
    I'm trying to use a PXI 6733 card hooked up to a BNC 2110 in a PXI 1031-DC chassis to output arbitrary waveforms at a sample rate of 100kS/s.  The types of waveforms I want to generate are generally going to be sine waves of frequencies less than 10 kHz, but they need to be very high quality signals, hence the high sample rate.  Eventually, we would like to go up to as high as 200 kS/s, but for right now we just want to get it to work at the lower rate. 
    Someone in the department has already created for me large text files > 1GB  with (9) columns of numbers representing the output voltages for the channels(there will be 6 channels outputting sine waves, 3 other channels with a periodic DC voltage.   The reason for the large file is that we want a continuous signal for around 30 minutes to allow for equipment testing and configuration while the signals are being generated. 
    I'm supposed to use this file to generate the output voltages on the 6733 card, but I keep getting numerous errors and I've been unable to get something that works. The code, as written, currently generates an error code 200290 immediately after the buffered data is output from the card.  Nothing ever seems to get enqued or dequed, and although I've read the Labview help on buffers, I'm still very confused about their operation so I'm not even sure if the buffer is working properly.  I was hoping some of you could look at my code, and give me some suggestions(or sample code too!) for the best way to achieve this goal.
    Thanks a lot,
    Chris(new Labview user)

    Chris:
    For context, I've pasted in the "explain error" output from LabVIEW to refer to while we work on this. More after the code...
    Error -200290 occurred at an unidentified location
    Possible reason(s):
    The generation has stopped to prevent the regeneration of old samples. Your application was unable to write samples to the background buffer fast enough to prevent old samples from being regenerated.
    To avoid this error, you can do any of the following:
    1. Increase the size of the background buffer by configuring the buffer.
    2. Increase the number of samples you write each time you invoke a write operation.
    3. Write samples more often.
    4. Reduce the sample rate.
    5. Change the data transfer mechanism from interrupts to DMA if your device supports DMA.
    6. Reduce the number of applications your computer is executing concurrently.
    In addition, if you do not need to write every sample that is generated, you can configure the regeneration mode to allow regeneration, and then use the Position and Offset attributes to write the desired samples.
    By default, the analog output on the device does what is called regeneration. Basically, if we're outputting a repeating waveform, we can simply fill the buffer once and the DAQ device will reuse the samples, reducing load on the system. What appears to be happening is that the VI can't read samples out from the file fast enough to keep up with the DAQ card. The DAQ card is set to NOT allow regeneration, so once it empties the buffer, it stops the task since there aren't any new samples available yet.
    If we go through the options, we have a few things we can try:
    1. Increase background buffer size.
    I don't think this is the best option. Our issue is with filling the buffer, and this requires more advanced configuration.
    2. Increase the number of samples written.
    This may be a better option. If we increase how many samples we commit to the buffer, we can increase the minimum time between writes in the consumer loop.
    3. Write samples more often.
    This probably isn't as feasible. If anything, you should probably have a short "Wait" function in the consumer loop where the DAQmx write is occurring, just to regulate loop timing and give the CPU some breathing space.
    4. Reduce the sample rate.
    Definitely not a feasible option for your application, so we'll just skip that one.
    5. Use DMA instead of interrupts.
    I'm 99.99999999% sure you're already using DMA, so we'll skip this one also.
    6. Reduce the number of concurrent apps on the PC.
    This is to make sure that the CPU time required to maintain good loop rates isn't being taken by, say, an antivirus scanner or something. Generally, if you don't have anything major running other than LabVIEW, you should be fine.
    I think our best bet is to increase the "Samples to Write" quantity (to increase the minimum loop period), and possibly to delay the DAQmx Start Task and consumer loop until the producer loop has had a chance to build the queue up a little. That should reduce the chance that the DAQmx task will empty the system buffer and ensure that we can prime the queue with a large quantity of samples. The consumer loop will wait for elements to become available in the queue, so I have a feeling that the file read may be what is slowing the program down. Once the queue empties, we'll see the DAQmx error surface again. The only real solution is to load the file to memory farther ahead of time.
    Hope that helps!
    Caleb Harris
    National Instruments | Mechanical Engineer | http://www.ni.com/support

Maybe you are looking for