• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Weblogic and new line characters

 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I am running weblogic and have a jsp(page1) that is used to prepare an error message.
When there is an error the jsp page1 creates the message and then stores it in the request object and forwards it to another jsp page2 which inserts the error message. Page2 contains SVG and the error message is simply inserted into the relevant part of the jsp page.

The problem is that a new line character is always inserted after each line of code in page1 (Note I have removed all new line characters) So when page2 is displayed it is not valid xml due to a blank line at the start of the file.

Note: this works on tomcat and it works on weblogic when I place all tags and code on one line in page1.

Is there a setting in weblogic that allows me to turn off the insertion of these new line characters?

Thank you very much
david
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic