Why extra space added in generated HTML?

We've noticed that WebLogic adds a significant amount of space in generated
          HTML (like 3.5K). We're curious if there is a way to prevent this or limit
          the amount of this space since this adds extra unnecessary wait time for
          dialup users. Does anyone have experience with this?
          

          My reply was entirely garbled ... I am trying again
                    Some HTML<br>
          <% jsp code ...<br>
          %>
                              Instead use...
                    Some HTML<% <BR>
          jsp code ...<br>
          %>
                                        "Shubhrajit Chatterjee" <[email protected]> wrote:
          >
          >Hi,
          >In case the problem has not been solved yet...
          >
          >If you begin a scriptlet tag(or any server side tag) on a new line like
          >this...
          >
          >Some HTML
          ><% jsp code ...
          >%>
          >
          >then when the servlet is generated, one empty out.println() is coded
          >due to the
          >empty place between the scrptlet tag, and thus generating an empty line
          >
          >You can prevent this by starting every scriptlet ( or any other serverside
          >tag
          >in the same line as HTML as given below
          >
          >Some HTML<%
          >Some JSP
          >%>
          >
          >However, only two characters (CR and LF are added if the scriptlet starts
          >on the
          >first column, so this won't make the page much slower. Avoid giving spaces
          >before
          >starting scriptlets, however...
          >
          >Shubhrajit
          >
          >
          >
          >"Dmitry Namiot" <[email protected]> wrote:
          >>
          >>Check out Optimize taglib from Coldtags suite:
          >>http://www.servletsuite.com/jsp.htm
          >>
          >>"chip" <[email protected]> wrote:
          >>>We've noticed that WebLogic adds a significant amount of space in generated
          >>>HTML (like 3.5K). We're curious if there is a way to prevent this
          >or
          >>>limit
          >>>the amount of this space since this adds extra unnecessary wait time
          >>>for
          >>>dialup users. Does anyone have experience with this?
          >>>
          >>>
          >>
          >
          

Similar Messages

  • Extra spaces added (that I can't get rid of) when using STHeiti font.  Anything I can do?

    Hi there,
    When I use the font that I want to use (STHeiti), extra spaces get added automatically—spaces that, by the way, I can’t ‘delete’—after every apostrophe (or single quotation mark).  See screen grabs below:
    Here's another example:
    Do you know how I can make these spaces go away?  When I do a search on the internet (InDesign STHeiti), I see that others have had other types of problems with this font… having to do with exporting a finished project to pdf and getting it printed. 
    In the context of talking about it, one person says that the STHeiti font "is installed as part of the Apple operating system, and is probably only meant for onscreen display".
    But someone else adds:  "the font is installed, by default, on all macs running 10.4 and above (possibly further back than that, but lets go with what we know), so opening the file at the printers on such a mac will have the font available”
    I'm on my Mac, though (not yet ready for the printer), so why do I have a problem using this font?
    I know I could use another font, but this STHeiti is a really nice one!
    Thanks for any advice,
    Malcolm

    Wow... that works beautifully.
    I've done it, but before proceeding too much further I'll google and try to find out more about this "Use Typographer's Quotes" setting.  Don't want it to bite me down the road.
    Thanks very much for the tip—
    Malcolm

  • Extra space adding during spool data into text file

    I'm using sql developer to query oracle tables. I can export data using GUI of sql developer, but I wish to use spool query to export the data. Using below query, I was able to export the data to specified location, but my final text file consist of additional spaces after each line. These additional spaces between each line is causing an error to upload the text file in different location.
    Did any one face have this issue? Below is my query
    set head off
    SET FEEDBACK OFF
    SET ECHO    OFF
    SET TRIMSPOOL ON
    SET TRIMOUT ON
    spool c:\test.txt
    select cast(memberid||',12'as varchar2(20))
    from abc;
    spool off
    set head on
    set ECHO on
    i'm using trimspool, and trimout, but it is not removing any blank spaces.

    Sorry, I changed my export.sql to the query you provided.
    SET HEAD OFF FEED OFF ECHO OFF
    SET LIN 120 PAGES 0 TRIMS ON
    SPOOL c:\test.txt
    SELECT memberid || ',12' FROM abc;
    SPOOL OFF
    But,the spool query is still adding additional spaces making length of each line 43 characters in final text file output.

  • The extra space created due to Conditional Build Tags

    Hello,
    I am authoring a online help file, for a web application. As different content is needed for the 4 different roles of the user, I have used Single Sourcing option and made use of conditional build tags for the content that is not common among the different roles. I even have images which are difffernt for the differnt roles. I have used conditional build tags for these too. The problem is that, extra space appears in place of the images which are not applicable to build I am publishing. Is there any workaround other than modifying the HTML files to remove the extra space added?
    Regards,
    Deepti Korwar

    hi Deepti,
    I have seen this issue on multi-level lists (in RH9) when using soft returns (Shift-Enter) within the lists.
    An extra space is added before images marked with CBTs. But this only caused problems in print.
    Are you seeing this space on all outputs or just print?
    Can you paste a code snippet from one of the offending list?
    Perhaps you can get round this by opening up the HTML tab and carefully examining and perhaps moving the CBTs.
    e.g. <?rh-cbt_start condition="xyz" ?><img src="xyz"  > <?rh-cbt_end ?></p><?rh-list_end ?>
    Will be helpful to see the code.
    thanks
    Craig

  • Strange Problem With Extra Spaces

    Hello,
    My development staff is experiencing a very strange problem with our JSP pages which display the values from a JDBC result set. We have two environments here: development and production. We have been creating pages in development which work out fine in our development environment. But when we move the page into production, each value which results from the ResultSet getString() method is having multiple blank spaces appended to the end of the value. So, for example, a 5 digit zip code field is really showing up with a length of 8 or 9 because there are extra spaces added to the end of the value.
    We are able to work around this problem by using the trim() method, but this is getting quite tedious to do to every single page in the site. It is very annoying because the problem does not exist in the development environment.
    So you figure there must be a difference in our development and production environments. But there really isn't. Here is the details for both environments:
    OS: Windows NT 4.0
    Web Server: Apache with Tomcat setup as a plugin
    Database: Sybase ASA 6.0.3
    JDK: 1.3
    Apache and Tomcat were installed from the same download on both servers. Sybase was installed from the same CD on both servers - and the JDBC Driver (SybDriver) was copied from one server to the next.
    Sorry for the long explanation - but does anyone have any idea what could be occurring? Why are the extra spaces being appended to the production pages and not the development pages?
    As always, thanks in advance for any suggestions!
    -- Chris

    Hello Paul,
    Thank you for taking the time to analyze this case.
    The data in the system comes from two different sources. The first source is a nightly feed from a legacy system. The second source is user input via the JSP application. The records that were inserted from the nightly feed have an accurate length() value (meaning there is no untrimmed spaces trailing along.) But the values coming in from the application have extra spaces appended to them. In the development environment, however, both sources provide properly trimmed data.
    If I enter an 8 character last name into the web form in the production app, the value which ends up in the database upon submission will have 2 to 3 extra spaces. I know that this sounds strange - and believe me, it is boggling everyone here. I suspect this problem has to do with the Tomcat installation - even though it was installed identically in each server.
    I think we are just going to have live with using the trim() for every database submission. As always, thank you for the help, and all ideas are always welcome.
    -- Chris

  • Word 2010 - Extra Space Around Checkbox Content Controls - only on some computers

    I am experiencing a problem with Word 2010 adding extra above/below spacing on content control checkboxes, but only on some of our computers. We have a template we use that is the same file for our network. On some of the computers in our office however,
    we get extra spacing what can not be removed.  
    I am at a lose to fix this and have been trying for about 3 weeks. The settings are the same on all the computers. The user can switch to another computer and the form will open correctly, but if they move back to their workstation and try to reopen it there
    the double spacing returns - again only for the checkbox content controls. 
    Attached are two images - Correct formatting, and then what happens on some of the computers. Any assistance would be greatly appreciated. 
    Can't post links due to account not verified
    Correct Formating Image - https://drive.google.com/file/d/0BzORWKV0f6tjWjdaTGxTd0tWeUk/view?usp=sharing
    Extra Space Added on Some Comptuers Image - https://drive.google.com/file/d/0BzORWKV0f6tjOU8wYXp0d1ZZVDA/view?usp=sharing

    Some issues worth noting:
    1. Word uses information returned by the active printer driver to manage a document's layout. This can result in line spacing, text-wrapping, and so on varying from one PC to the next - or even on the same PC when switching to a printer that uses a different
    driver.
    2. Differences in font versions (or the use of a font that is available on one PC and not another) can result in line spacing, text-wrapping, and so on varying from one PC to the next.
    3. Differences in Word version (or even update state) may result in line spacing, text-wrapping, and so on varying from one PC to the next.
    4. Your document that displays the extra spacing has Word's formatting display switched on - even that can change the appearance if the document contains hidden content.
    5. Various Word options can also affect line spacing, text-wrapping, and so on. These include having Word configured to 'optimize character positioning for layout rather than readability', 'scale content for A4 or 8.5x11" paper sizes' and, perhaps,
    the use of draft print quality.
    Obviously, there are multiple possibilities to work through, ensuring all PCs & printer configurations are the same. That said, your use of tables allows you the option of setting the row heights to 'exact' measurements, so they won't expand as they
    evidently now can. You can also try setting the paragraph line spacings and before/after spacings to precise numbers of points, for example, so they don't auto-adjust.
    Cheers
    Paul Edstein
    [MS MVP - Word]

  • Why the extra space after an h3 title on the page?

    I am somewhat a newbie and I am working on a webpage for a
    lady. She wants me to remove the extra space below the title and I
    have it set as an h3 tag. The title is at the top, "eMarketing -
    Standing out in the In-Box"... and then there is this big space
    below it. Why? I have the title set as h3 and the rest as a
    paragraph. This is in a table so the h3 tag is on one row and
    immediately to the next row is the paragraph tag. How can I remove
    this extra space to bring the content up underneath the title?
    My test site of this page is at:
    http://www.dazzlewebstudio.com/testing/falkenstein/special/index_NEW.html
    Please help.
    CK

    Use CSS to control the top/bottom margins on the <h3>
    tag?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "computerkitten" <[email protected]> wrote
    in message
    news:g6gdoa$dea$[email protected]..
    >I am somewhat a newbie and I am working on a webpage for
    a lady. She wants
    >me
    > to remove the extra space below the title and I have it
    set as an h3 tag.
    > The
    > title is at the top, "eMarketing - Standing out in the
    In-Box"... and then
    > there is this big space below it. Why? I have the title
    set as h3 and
    > the
    > rest as a paragraph. This is in a table so the h3 tag is
    on one row and
    > immediately to the next row is the paragraph tag. How
    can I remove this
    > extra
    > space to bring the content up underneath the title?
    >
    > My test site of this page is at:
    >
    >
    http://www.dazzlewebstudio.com/testing/falkenstein/special/index_NEW.html
    >
    > Please help.
    > CK
    >

  • Can anyone tell me why there's an extra space here?

    Can anyone tell me why there's an extra space here? http://www.libertywebmarketing.com/test/test.html
    SOURCE CODE:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Test</title>
    <link href="css/Test.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    body {
    background-attachment:fixed;
    background-image: url(images/background.jpg);
    background-color: #000;
    background-repeat:no-repeat;
    background-position:top;
    background-position:center
    </style>
    </head>
    <body>
    <div class="container" id="container">
      <div id="Top"></div>
    <div id="Copy">
       <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In malesuada cursus   commodo. Sed eleifend dolor nibh. In augue turpis, sollicitudin et luctus at,   suscipit sed erat. Aliquam metus ipsum, posuere eget placerat et, interdum at   metus. Aenean ut enim leo, at dapibus lorem. Donec hendrerit feugiat mattis.   Fusce sollicitudin nisl sed metus porta mollis. Aliquam a arcu nibh, aliquam   malesuada sem. Aliquam dictum porttitor odio, aliquam vehicula tellus sodales   ut. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere   cubilia Curae; Curabitur eu turpis eu nisi tincidunt egestas. Nam ultrices   aliquam pulvinar. Curabitur libero diam, tristique in lobortis at, vestibulum ac   purus. Cras sodales, mi at vestibulum pellentesque, orci arcu vulputate ligula,   et placerat elit nibh sed mi. Praesent pulvinar pulvinar massa, in malesuada   nisl mattis vitae. </p>
    </div>
      <div id="Bottom"></div>
    </div>
    </body>
    </html>
    CSS:
    .container {
    margin-right: auto;
    margin-left: auto;
    width: 925px;
    margin-top: 0px;
    p {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    #Top {
    background-image: url(../images/TopEdge.jpg);
    background-repeat: no-repeat;
    height: 22px;
    width: 925px;
    #Bottom {
    background-image: url(../images/BottomEdge.jpg);
    background-repeat: no-repeat;
    height: 18px;
    width: 925px;
    #Address {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: #FFF;
    text-align: center;
    line-height: 20px;
    #Copy {
    padding-right: 20px;
    padding-left: 20px;
    background-image: url(../images/White-Tile.jpg);
    background-repeat: repeat-y;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    line-height: 20px;
    padding-top: 10px;
    padding-bottom: 0px;
    Thanks a lot.
    Fitz21

    Fitz21 wrote:
    Thanks Nancy. That fixed it. Thanks Osgood also. I'm going to spend some time trying to understand why I needed padding on the bottom.
    Fitz21
    Padding on the bottom only fixes the problem BUT IS NOT the source of the problem, that is the default margins on the paragraph tag. I would forget trying to understand why you need padding and look more towards what causes the issue. If you know what the real source of an issue is then you  can generally fix it quite easily. What solution you use to fix it is then something you can decide upon.

  • Why that I have a "extra" space in my menu bar? Help !!!

    Hola
    I have a extra space in the menu bar ONLY in explorer 8
    In there, I have a navigation menu that I made in FWCS5
    For the grace of God, I cannot figure it out why it looks like that...
    I got this errors in the Browser Compatibility
    Unsupported value: 'inline-table'
    Affects: Firefox 1.5; Internet Explorer 6.0, 7.0; Internet Explorer for Macintosh 5.2; Netscape 8.0
    Z-Index bug
    Positioned containers define a new stacking order, even when the computed z-index of the container is auto. This can cause positioned children of the container to appear above other positioned elements on the page when they should not.
    Here is a link to my page
    http://mydsigner.com/espanol/index.html
    I have post this question in the DW forum but have no get a solution or answer
    I have read the information in the adobe help section but cannot find the solution to the problem
    Hope someone here "Knows" about this issues because the menu was created in FW, and it is cause of the problem
    Thanks a lot
    Saludos
    Daniel Ulysses

    Hola Jim
    Well, I have used the Spry menus, and bought other CSS menu widget, but one problem that I have with both is
    that for some reason (me) when I try to update them, never works, I end up re-doing them all again, and my lack
    of knowlege of CSS (getting better) was always a problem
    I try to use FW, (first time ever) and believe that this may be it.
    Oh well,  I may have to change the menu, because it looks just weird
    Thanks a lot for you honest answer
    Saludos

  • Why is there unwanted white space added to all .jpg/.png when "inserted" into Dreamweaver CS4?

    I have two seperate sites/seperate root folders that I am building right now and every image that I insert into Dreamweaver has an extra white space added to the left of every image. Please help, I must have checked/unchecked something in my preferences. Thank you!
    Its not in my CSS or in the HTML coding...from my site:
    <a href="optomized-large/Havana-Night-(66-of-312).jpg" title=""> <img src="optomized-thumb/Havana-Night-(66-of-312).jpg" width="100" height="150" alt="" /> </a>

    You do know how wrong it is to make a web page that is nothing but images, right? It's on the list of the 10 worst mistakes you can make for sure.
    Anyhow, look at this page -
    http://www.murraytestsite.com/denver.html
    I have outlined every image on that page with a 1px red border.  There is no unwanted white space being added to those images.  If there were you would never see the menu button images that close together.  I have also put a 1px green border on the left of the container div.  Note that the images are snug against that green border.

  • Why are some cells in my spreadsheet higher than others? There's like extra space.

    Why are some cells in my spreadsheet higher than others? There's like extra space.

    DreamLife,
    you can adjust the row height byt selecting the separator between rows.  It is possible you made this adjustment accidentally.  To se the row height to be the same as other rows select a row that has the height you want:
    Then open the table inspector.  Look at the row height and note the value.  Now select the row (s) you want to adjust, then change the "Row Height" value in the table inspector.  To view the inspect select the menu item "View > Show Inspector"

  • Premiere Elements 12 - My videos have extra minutes of black space added that I don't know how to get rid of.

    I just finished making a video that runs to about the 13 minute mark. After that I don't have anything on the timeline. Despite this, the duration I see when I try to export is about 25 minutes. I then watched the video to confirm that I had an extra 12-13 minutes or so of blank, black, empty space added to the end of the video. I made doubly sure that there was no tiny file a chopped off on accident or anything, there's just nothing there. This has been a recurring problem, having occurred with a 7-ish minute video being expanded to 15.

    born
    What computer operating system is your Premiere Elements 12 running on? Be sure to update 12 to 12.1 via a project's Help Menu/Update. Background information. For now I will assume Windows 7, 8, or 8.1 64 bit.
    Now to the core of the matter and a quick way to find and correct the problem which is related to fragment beyond what you consider to be the end of your Timeline content.
    1. Open the project to the Expert workspace. Expand the Timeline content maximally by taking the Zoom Out-Zoom In Slider above the Timeline all the way to the right.
    2. Hit the computer keyboard End Key. That should take the Timeline Indicator to the spot where the fragment(s) is (are)..
    These fragments typically present as thin vertical black lines scattered among the track contents. Could even be a file that you pushed out of the way when
    you were editing and forgot you left it there. Search all tracks.
    3. After you find and delete it or them, then use the End Key again to make sure that this time Timeline Indicator stops at the end of your intended Timeline content when you press the computer keyboard End key.
    Any questions or need clarification, please do not hesitate to ask.
    Thank you.
    ATR

  • Why can I not remove extra spaces from Mail when composing?

    I am using Mail Version 8.1 and I cannot find a way to remove extra spaces from between my lines while composing. Every Enter makes the cursor go down two lines and there is no way to type in the space in between. There seems to be now way to see the html or any tags that can be causing this, and I cannot seem to find any setting to change the line spacing either. Does anyone know where to find any of these options so I can simply make the text single space?

    Open a message-editing window. Under the Edit menu, deselect all the options in the Spelling and Substitutions sub-menus. Test.

  • Typing on the Internet here and on Twitter  extra spaces  are added.

    Typing on Twitter  and on this website now, extra spaces are added at the beginning of where I started  dictating.  They are added it  at the moment  the dictation  microphone is switched off. It does not happen on Quick Drafts and on the notepad that came with the iPad. It did not happpen now with regular typing. On  Twitter the cursor starts out in strange places  including outside the box that you write in. And that is unrelated to dictation. Once I start typing it moves into the correct position.  This started after I updated to 8.3. And after Twitter stop letting iPads use the desktop site. But might be unrelated to both.

    You are my hero!    On the Twitter thing. (Still need a dictation hero. ) So happy to have that back.    One additional piece of info. I did what you said on the mobile site. So somebody in my in my boat can just go to Twitter on the mobile site and then do the touch the address bar pulldown thing. Which is even easier. Thank you so much!   

  • Why bookmarks have 4 spaces added after the update from FF3.6 to 13?

    Why bookmarks have 4 spaces added after the update from FF3.6 to 13?

    Problems with bookmarks and history not working properly can be caused by a corrupted places.sqlite database file.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    You can also try to repair the places database with this extension:
    *https://addons.mozilla.org/firefox/addon/places-maintenance/

Maybe you are looking for

  • ABAP routine help required in BI

    Hi Experts, I have a some fields in DSO (Data Store Object) as below _Code.................. Type.................... Date & Time_ 1..............................A....................01/01/10    01:00:00 1..............................B..............

  • Connected bluetooth headset to Macbook, but no audio

    Hey. I successfully connected my Jabra bluetooth headset to my Macbook. In System Preferences -> Sound, I selected the headset device for both my input and output. The input seems to work, but the output does not work at all. For output, it says "The

  • SOLVED: Low 3D performance with Intel X3100 on Arch64?

    Hello, I installed Arch x86-64 on my Acer 7720-6902 laptop, which uses X3100 video (i965 chipset). It works nice, except that I am getting VERY bad 3D performance. glxgears gives only ~400fps and I can barely get 30fps on games like ActionCube. The o

  • OIM 11g installation: oim-config.xml was not found in MDS Repository

    Hi, I just installed Oracle Identity Manager 11g (the latest version) on out test system. The installation worked fine. I can start the admin server as well as the soa_server. But when I start the oim_server1, the deployment of oim fails with the fol

  • How to use AV conf with third party

    One of our partners uses a lifesize video conferencing unit. We use lync internally for IM and currently have an edge server being deployed for external access. I am wondering how I dial av.partner.com from a lync 2010 client to have an AV conference