maria
        why are you taking the tension of this programme.
earth is  very big. enjoy life.
                                     ravi

>From: Maria Baldassarri <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: double quote and carraige return in jsp variable with frames
>Date: Fri, 1 Sep 2000 17:00:13 +0200
>
>***Please Note: This email was has been in a queue since Friday, September,
>1. You may or may not have already received it. For more information,
>please contact [EMAIL PROTECTED]
>Why??
>Anyway I cannot use single quote because in my real code my variable is
>filled through
>  myBean.getDocument() call,
>which is a method that return to me the result of some other processing on
>xml/xsl files.
>And what about carriage return character??
>thanks Maria
>
>Naveen Gupta <[EMAIL PROTECTED]> on 09/01/2000 03:38:05 PM
>
>Please respond to A mailing list about Java Server Pages specification and
>       reference <[EMAIL PROTECTED]>
>
>To:   [EMAIL PROTECTED]
>cc:    (bcc: Maria Baldassarri/Tivoli Systems)
>Subject:  Re: double quote and carraige return in jsp variable with frames
>
>
>
>
>please use single quote
>
>Naveen Gupta
>Web Developer
>Go4i.com (India) Pvt. Ltd.
>2nd Floor,Kamal Cinema Building,
>Safdarjung Enclave
>New Delhi-110029
>Phone:6100013-14,6171893-94
>Fax:6100015
>Email:[EMAIL PROTECTED] <mailto:Email:[EMAIL PROTECTED]>
>
>
>
>-----Original Message-----
>From: Maria Baldassarri [mailto:[EMAIL PROTECTED]]
>Sent: Friday, September 01, 2000 6:01 PM
>To: [EMAIL PROTECTED]
>Subject: double quote and carraige return in jsp variable with frames
>
>
>I've problem displaying a string variable that  contains character
>double
>quote or carriage return.
>Infact if I substitute the following line
>parent.right.document.write("<%= simple_string %>");
>with
>parent.right.document.write("<%= string_with_quotes%>");
>or with
>parent.right.document.write("<%= string_with_quotes%>");
>
>I've the following strange behaviour:
>The left frame shows correctly all the 3 variables, while the right
>frame do not show anything.
>What I did wrong?
>thanks a lot Maria Baldassarri
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
>
><%@ page language="java" import = "org.apache.xalan.xslt.*" %>
><%!
>      String simple_string="simplestring";
>      String string_with_quotes="string  \" with quotes ";
>      String string_with_cr="string  \n with cr";
>%>
><HTML>
><HEAD>
>      <TITLE>test</TITLE>
>      <META NAME="keywords" CONTENT="">
>      <META NAME="description" CONTENT="">
>
></HEAD>
><BODY  BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FFFFFF"  TOPMARGIN="2"
>LEFTMARGIN="2" RIGHTMARGIN="2" MARGINWIDTH="2" MARGINHEIGHT="2">
><font size=-2>
><!-- ***************************** -->
><!-- writing on left  frame           -->
><!-- ***************************** -->
><% simple_string="simplestring"; %>
><%= "writing simple_string on top frame <BR><font size=-2> " +
>simple_string + " </font>" %>
><%= "writing string_with_quotes on left frame <BR><font size=-2> " +
>string_with_quotes + " </font>" %>
><%= "writing string_with_cr on left frame <BR><font size=-2> " +
>string_with_cr + " </font>" %>
></font>
><!-- **************************** -->
><!-- writing on  right  frame -->
><!-- **************************** -->
><SCRIPT language="JavaScript">
><!--
>parent.right.document.write("<HTML><HEAD><TITLE>bottom
>frame</TITLE></HEAD><BODY>");
>parent.right.document.write("writing on right frame<br>");
>parent.right.document.write("<%= simple_string %>");
>parent.right.document.write("</BODY></HTML>");
>parent.right.document.close();
>-->
></SCRIPT>
></BODY>
>
>========================================================================
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to