How are you getting the environment variable
and printing it..pl.send that code segment..

regards,
vish
^-^-^-^-----Original Message-----
^-^-^-^From: Sajit Vasudevan [mailto:[EMAIL PROTECTED]]
^-^-^-^Sent: Monday, April 02, 2001 11:32 PM
^-^-^-^To: [EMAIL PROTECTED]
^-^-^-^Subject: Adding carriage returns in ejb-jar.xml
^-^-^-^
^-^-^-^
^-^-^-^Hello,
^-^-^-^
^-^-^-^  I want to use an environment entry (a very long String
^-^-^-^having a lot of
^-^-^-^carriage returns)
^-^-^-^within the EJB Entity Bean.I have the XML ejb-jar.xml
^-^-^-^environment entry as
^-^-^-^follows
^-^-^-^I use the entry via the lookup but the format of the
^-^-^-^carriage return does
^-^-^-^not take place.
^-^-^-^It just appears as it is displayed in the environment
^-^-^-^entry. How do i format
^-^-^-^it?
^-^-^-^
^-^-^-^for eg.
^-^-^-^<env-entry>
^-^-^-^<env-entry-name>longmessage</env-entry-name>
^-^-^-^<env-entry-type>java.lang.String</env-entry-type>
^-^-^-^<env-entry-value>This message is from Sajit
^-^-^-^Vasudevan.\nPlease visit the
^-^-^-^site and respond\nHave a good day!</env-entry-value>
^-^-^-^</env-entry>
^-^-^-^
^-^-^-^( I even tried the "&#13" instead of the "\n" in the
^-^-^-^above entry value )
^-^-^-^
^-^-^-^Expected output when i read the environment entry:
^-^-^-^How do i add carriage return so that when i read the
^-^-^-^above entry in
^-^-^-^the java program.. it would be formatted as follows:
^-^-^-^
^-^-^-^This message is from Sajit Vasudevan.
^-^-^-^Please visit the site and respond
^-^-^-^Have a good day!
^-^-^-^
^-^-^-^
^-^-^-^Current Output:
^-^-^-^This message is from Sajit Vasudevan.\nPlease visit the site and
^-^-^-^respond\nHave a good day!
^-^-^-^
^-^-^-^
^-^-^-^What change do i need to make in the XML file?
^-^-^-^
^-^-^-^Any help would be greatly appreciated!
^-^-^-^Thanks
^-^-^-^Sajit
^-^-^-^
^-^-^-^****************************************************************
^-^-^-^Number Six Software Inc.
^-^-^-^www.numbersix.com
^-^-^-^Voted Rational's Best Complementary Service Provider
^-^-^-^1655 North Fort Myer Drive, Suite 1100
^-^-^-^Arlington, VA  22209-3196
^-^-^-^****************************************************************
^-^-^-^
^-^-^-^=========================================================
^-^-^-^==================
^-^-^-^To unsubscribe, send email to [EMAIL PROTECTED] and
^-^-^-^include in the body
^-^-^-^of the message "signoff EJB-INTEREST".  For general
^-^-^-^help, send email to
^-^-^-^[EMAIL PROTECTED] and include in the body of the
^-^-^-^message "help".
^-^-^-^

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to