Avoid automatic insertion of CR's and LF's

Hello!
How can I avoid the automatic insertion of CR's and LF's by JSP tags?
I am developing a XHTML application with Cocoon which uses JSPs. One of my "pages" is composed of a list of images which need to be inserted side by side, without any spaces between them. I am using JSTL (forEach tag) to iterate through my images' collection. Although the resulting XHTML has white spaces between the images (XHTML converts CR's and LF's to one white space).
I can only have the correct behavior if my JSP has only one line (every tag on the same line), which is not User Friendly, and I want to avoid.
Any help would be welcome.
Thanks you in advance,
Victor Batista

I'm not exactly sure what you're describing, but I do know that tags and scriptlets that don't give display, convert to whitespace in the resulting document.
If I could remember who first discovered this I'd give credit, because it's saved me some grief, but all you have to do (if this is your issue) is make sure that the closing brace of a tag or scriptlet is on the same line as the next starting brace (tag or html.)<%@ page ...
%><jsp:useBean ...
/><HTML>
<%
...some code here...
%><BODY>etc.

Similar Messages

  • I also have a .csv file with the name of a jpeg in one column and a text description of each jpeg in a second column. Is there a way to automatically insert one jpeg (photo) and its corresponding text, each pair on one page, into a Indesign document?

    I also have a .csv file with the name of a jpeg in one column and a text description of each jpeg in a second column. Is there a way to automatically insert one jpeg (photo) and its corresponding text, each pair on one page, into a Indesign document?

    I would also recommend to write the description into the meta data. This would allow to place a text frame above the image and it is possible to add meta information and file name automatically together with the image, when you place it or even in a prepared template.
    Meta data information can be written easily in Bridge in the Meta File Workspace.

  • Process events and business functions: automatic insertion of process event

    Here is the scenario: I defined (in Designer 9.0.4.5.6) a number of business functions. Some of them are basic functions, others are Business Rules. When I am trying to link them up the following happens: I have a function FUNCCON31 that I want to connect to BR_OK41. In FUNCCON31 I define under the Triggering node the BR_OK41 by means of the Create Reference button.
    This is accepted by Designer, but more often than not after this has been done I requery and I will find that instead of the BR_OK41 a Process Event (PE) will have replaced the BR_OK41. For the sake of argument this PE is named END-CON31. When I move to this PE, it will have a number of nodes underneath its definition. One of them will say Triggered by Functions, another Triggering Functions and they are filled with the correct To and From references; it all makes sense. Elements are linked up appropriately, but where does this seemingly automatic insertion of the PE come from??? It is annoying as I have not specifically defined it. Am I missing something vital?
    Hope somebody takes trouble to read this scenario and please get back to me, as it driving me insane. Thanks in advance!
    Kind regards,
    Vik

    Always remember to start the process the itemtype/itemkey combination should be unique. When you try to start the second process through the event, the itemkey remains same for the second process. So it will not start the process, aslo it will not show any error.
    To avoid this try to call the process of another itemtype. Or else if you want to create both process under same itemtype, you have to write a rule function and change the event key in the rule function.

  • When i try to download an update the dropdown automatically inserts my apple id which is wrong. It's in gray and will not allow me to type in a correct id. How do I stop / delete the automatic insertion of the id?

    When i try to download an update from the appstore the dropdown  menju automatically inserts my apple id (which is wrong). It's in gray and will not allow me to type in the correct id. How do i stop the auto insert so that i can enter the correct id?

    the original apple id was entered incorrectly. Apple says it must be a email address.  My email address is correct but the letter ( t ) somehow got added to the (.com) so that when i try to enter my id it is automaticly loaded with the email address the ends ( .comt ) . According to Apple this is not a "legal" email id.  But it appears on my dropdown in gray and i cannot alter it or delete it, thus preventing me from downloading software updates.

  • Where can I go to read about the concept of set-up and use of Key Chain to automatically insert required passwords at internet sites?

    Where can I go to read about the concept and use of Key Chain to automatically insert required passwords at internet websites? I may or may not want to use Key Chain after I understand it.

    Key Chain basics

  • How can I avoid automatical quantity confirmation of the items?

    At our case, production is done on sales sales order for some of the materials. When all of the materials at the order are producedi I want to triger the availability check but availability check triggered autpmatically when for the first time the order is created. I don't want the system to make the confirmation automatically. How can I avoid automatical quantity confirmation of the items?
    Thanks in advance for the answers....

    Hi Yasar
    This can be done 2  ways
    1.if you want individual material stocks to be checked for avialbility and deliver them independently then check whether you are using requirement type KSV.
    2. If you want to send the group of materials together and do not want to send a material which is part of group individually ,you can use delivery group with Sales Bill of material  concept . the header material may be a fantom assembly .
    The delivery group is set at the item  category level ,so u can set it for the item categories u want to go together.
    for example  all text package inserts ,extra spares and a material must go together, they  will be part of delivery group.
    I hope this helps
    Regards
    Mandar

  • ME21N : Avoid to insert the condition type

    Dear.
    When I access to condition view of the purchase order position , I need to avoid to insert every time a specific condition type (RA00). How can I do in order that this condition type appear in the pricing elements automatically ?
    Thanks.

    You can achieve it either thru creating an access sequence and assigning the same to the condition type thru customization follow path SPRO - Material management - Purchasing - Conditions - Define access sequences.   Later assign the access sequence to conditon vide trasnsaction m/06.
    Incase of achieving it thru master, you can then create an inforecord for the material/vendor combinations and all the conditions maintained in the inforecord could flow automatically.
    S. Kumar

  • Automatic insertion of file name in Pages footer?

    I'm considering using Pages instead of MS Word. One thing I can't figure out is if it is possible to use a function to automatically insert the filename in the footer of a page (or anywhere else for that matter)? Having the file name on printouts is great for finding old files, and Word has such a function that inserts it when the file is first saved. It is a real time saver when using a template (or old file) to create new files.

    I'm considering using Pages instead of MS Word. One thing I can't figure out is if it is possible to use a function to automatically insert the filename in the footer of a page (or anywhere else for that matter)? Having the file name on printouts is great for finding old files, and Word has such a function that inserts it when the file is first saved. It is a real time saver when using a template (or old file) to create new files.

  • Is there a way to automatically insert the filename in the footer of a spreadsheet using iWork's numbers 3.2?

    Is there a way to automatically insert the filename of a spreadsheet into the footer when using iworks numbers 3.2?  iworks 09 had this feature and I can't find this feature in the new version of numbers.

    Hi rhyolite,
    In Numbers 3.x, The Print View and Layout View have gone (for now at least). Page Headers and Footers can only be reached under Menu > File > Print... to open Print Preview. Hover the cursor to reveal the Page Header and Footer fields.
    The only inserts that I can get to work in Print Preview are Page Number, Page Count and Date & Time. Filename is no longer in the Insert menu.
    Regards,
    Ian.

  • Automatic insertion in text box?

    Hello,
    Here is the problem...I have existing .indd document, and it needs to be printed into large number of pdf files. Each pdf file must have different text in one textbox (located in master frame). Is there any way i could automate the process? Not so much for printing, but for automatic insertion of that text line by mouse click/command? I figure that automatic printing would be difficult, since each file goes to different folder...
    This would not be the case if it was one time job, but I am doing it manually for a long time, each several days
    Thank you for answers

    Thank you peter, with Data Merge I have managed to do exactly what I wanted, even easier than i taught it could be done, using Excel
    Automatic printing to specified folders and automatic shifting of data fields seems like to complicated, and like something indesign was not designed to do...so it can be skipped Tnx!

  • Automatic insertion of spaces in telephone numbers in iPhone OS 3.0.1

    Hello!
    I think there are two annoying behaviors in iPhone OS 3.0.1:
    • if you go to contacts, create a new contact and enter a telephone number there will be inserted automatically spaces into the telephone number. One the one hand this behavior can be very practical (for example if iPhone 3.0.1 identify thereby already used formats of telephone numbers), on the other hand this behavior can be very annoying (for example if you want to create a special format for one telephone number). If you synchronize telephone numbers from your iMac to your iPhone, iPhone OS 3.0.1 put also automatically spaces into synchronized numbers.
    • there is also missing a hyphen in the number keyboard to insert into the telephone number in iPhone OS 3.0.1.
    First I think it would be a very good if there would be a function in iPhone OS 3.1 which deactivates the automatic insertion of spaces, secondly I think there should be a a hyphen in the number keyboard to insert into the telephone number in iPhone OS 3.0.1.
    How do you think about my suggestions?
    Message was edited by: Roman Patrice Gego

    ok after all summer have this toy (BETA )iphone upgrade to 3.0.1 still drop calls so i send it for repair or replace i can write full pages regarding that beta product i need to find tonight to send mail to EU as a customer i need to find my right i pay 600 euro in 10/06/09 and still is not working properly as it must be A PHONE i am professional and i need my phone to work as a tool i wll reply too all that will ask me my phone number exept my e-mail are
    [email protected]
    0035799845222

  • How do I make numbers automatically insert date of table entry?

    Hi, I am monitoring time spent on a computer, so every time I log a time on my table in numbers I want it to automatically insert the date of that entry in the next column, I do not know how to do this,
    I hope someone can help me resolve this issue,
    Sincerely,
    Henri

    Hi Henri,
    There is no way to have an automatic time stamp in Numbers. Once you double click on a cell you can go to Menu>Insert>Date & Time and get a time samp that way.
    quinn

  • Need help with creating table that automatically inserts rows depending on the amount of data

    Hi there,
    I'm trying to create a table for supervisors to enter in their subordinates information and will automatically insert rows for supervisors with multiple subordinates.  This form will not be connected to a data source, the supervisors will simply fill in the form and print out.  I want it to kind of look like this:
    Name
    Position #
    Classification
    Hours
    I really appreciate any help.  Thanks!

    Hi Niall,
    You figured it out!  I didn't have javascript turned on.  Now it is working perfectly.  I think this will help me tremendously.  Thanks so much for your help!!!!!
    Laura

  • Is it possible to add automatic insertions in a RH 7 template?

    I'm new to RoboHelp and to HTML altogether, but learning quickly. I'm developing a help system with both General help and How to's. I was wondering if it possible to add automatic insertions in a RoboHelp HTML 7 template, as you would in a Word .dot with macros, or if I need to repeat creating tables and numbered steps all the time.
    Your support is greatly appreciated.

    Hi again
    Okay, clearer now what you need to accomplish.
    You could take a couple of approaches.
    Approach one - Create a topic and define a table. Configure as you would like to see it. Then when you need it, you open the topic containing the table, copy it and paste it where you need to use it.
    Approach two - Create a Table Template. Instructions for this are found on fellow Adobe Community Expert Peter Grainge's site at the link below.
    Click here to visit Peter's site
    Cheers... Rick
    Begin learning RoboHelp HTML 7 within the day - $24.95!
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Avoid an insertion in a table

    Good morning!!
    I'm trying to create a trigger in order to avoid some undesiderable insertions in a table of my DB. I check some basic rules of the data and I would like that in some cases the insertion won't be committed, but if I use a raise_application_error in my trigger, an error appears informing me that the number of the exception is out of range, and I can't make a rollback inside the trigger.
    I've tried to insert the wrong data in other table and program other after insert trigger on this auxiliary table to drop the incorrect data, but without possitive result. The code of both triggers is as follow:
    -- Table where I want to avoid the insertions: TABLE1
    -- Auxiliar table: TABLE_AUX
    CREATE OR REPLACE TRIGGER CHECK_CONDITIONS
    AFTER INSERT
    ON TABLE1
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    EXISTE NUMBER;
    PREV_DATA1 NUMBER;
    PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
    SELECT COUNT(*),DATA1 INTO EXISTE,PREV_DATA FROM TABLE1 WHERE DATA2 = :NEW.DATA2 GROUP BY DATA1;
    IF EXISTE = 1 THEN
    dbms_output.put_line('Mother Word '||:new.mother_word ||' existente en BD');
    IF PREV_DATA <> :NEW.DATA1 THEN
         INSERT INTO TABLE_AUX VALUES(:NEW.DATA1,:NEW.DATA2);
         COMMIT;
         END IF;
    END IF;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN NULL;
    WHEN OTHERS THEN
         dbms_output.put_line(to_char(sqlcode)||': '||to_char(sqlerrm));
    END CHECK_CONDITIONS;
    CREATE OR REPLACE TRIGGER DELETE_BAD_DATA
    AFTER INSERT
    ON TABLE_AUX
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
    DELETE FROM TABLE1 WHERE DATA1 = :NEW.DATA1 AND DATA2 = :NEW.DATA2;
    COMMIT;
    EXCEPTION
    WHEN OTHERS THEN
         dbms_output.put_line(to_char(sqlcode)||to_char(sqlerrm));
    END DELETE_BAD_DATA;
    Any help would be useful.
    Thanks in advance.
    Isabel

    One thing if you want to do a rollback or commit inside a trigger is using autonomous transaction inside a trigger..Please find the sample code for that which might be useful in your case
    CREATE OR REPLACE TRIGGER t_autonomous_tx
    BEFORE INSERT
    ON person
    DECLARE
    PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
    INSERT INTO audit_log
    (chng_when, commentcol)
    VALUES
    (SYSDATE, 'Reporting an error');
    COMMIT;
    END t_autonomous_tx;

Maybe you are looking for

  • Expected value type: end-of-string infopath configuing the main submit button on the form.

    Hi Everyone, so I have run into this very odd problem. When I am trying to configure my main submit for my infopath 2010 form, and it says File Name, I put in concat(field 1, field 2, field 3), and when the form submits, I get the following as a name

  • Downloading Youtube videos with Quicktime 7 Pro?

    I'm considering downloading Quicktime Pro 7 for my MacBook. On the Apple website, it says that I can use Quicktime Pro 7 to download videos from the internet. Will this work with Youtube? Thanks.

  • Report - Return days since LAST activity

    Hi, I need a report that returns "All open SRs with the amount of days since the LAST completed activity of type X" (so we can see when the activity needs to happen again) I have managed to create a report that brings back "all open SRs with the amou

  • Iweb is being crazy! moving pics, fonts,...

    I am using i web to build a site offline currently so i dont have a link to give you but i will do my best to describe the issues. 1. I added a text box and wrote a description of something. The text in iweb is a little off white. When i hit publish

  • Jre 32-bit not registered or created any symlinks on windows 64-bit

    I have installed 64-bit public jre 1.8 on windows 2012. Then installed 32-bit public jre 1.8 for testing 32-bit based applications. I can see symlinks created for 64-bit jre, but no symlinks created for 32-bit jre. And also 32-bit jre is not register