I am really sorry guys that was intended to Kulandaivadivel Duraisamy
[mailto:kulandai_vadivel@;DATAMATICS.COM]..but by mistake I just pressed
reply......I am sorry for that.. :-)

-----Original Message-----
From: Martin Simon [mailto:martin.simon@;VERA.CZ]
Sent: Tuesday, November 05, 2002 2:38 AM
To: [EMAIL PROTECTED]
Subject: Re: "\n" problem in jsp

Whats this? Finlandia speaking :-)?

----- Original Message -----
From: Jayaprakasam, Yogaraj (Cognizant) <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 05, 2002 11:35 AM
Subject: Re: "\n" problem in jsp


> Intha mathiri question ellam pottu en manatha vaangathada kulanda...
> Deepavali kondaadittu vanthittiya..?
>
> -----Original Message-----
> From: Kulandaivadivel Duraisamy [mailto:kulandai_vadivel@;DATAMATICS.COM]
> Sent: Wednesday, October 23, 2002 10:50 PM
> To: [EMAIL PROTECTED]
> Subject: Re: "\n" problem in jsp
>
> Hi Thanks,
> Now it is working...
>
> -Vadivel
>   ----- Original Message -----
>   From: Inoue Mikako
>   To: [EMAIL PROTECTED]
>   Sent: Thursday, October 24, 2002 11:02 AM
>   Subject: Re: "\n" problem in jsp
>
>
>   try  String strMes="test\\ntest";
>
>
>   =Mikako
>
>
>   On Thu, 24 Oct 2002 10:07:02 +0530
>   Kulandaivadivel Duraisamy <[EMAIL PROTECTED]> wrote:
>
>   > Hi All,
>   >
>   > I have one String variable in jsp.
>   > value of that variable contains "\n".
>   >
>   > When I tried to give alert message of that varible's value(using java
> script),i'm getting problem
>   >
>   > for eg my jsp is
>   >
>   > <%
>   >  String strMes="test\ntest";
>   > %>
>   >
>   > <script language=javascript>
>   > <%
>   > out.println("alert(\""+strMes +"\");");
>   > %>
>   > </script>
>   >
>   >
>   > once it is translated i'm getting html Output as
>   >
>   >
>   > <script language=javascript>
>   > alert("test
>   > test");
>   >
>   > </script>
>   >
>   > Therefore it is showing error at line 2 .error is        " ) expected
or
> unterminated string constant".
>   >
>   >
>   >
>   > but my desired output is
>   >
>   > <script language=javascript>
>   > alert("test\ntest");
>   > </script>
>   >
>   >
>   > Can anyone help me?
>   >
>   > Thanks in advance
>   >
>   > Vadivel
>   >
>   > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
>   > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
>   > Some relevant FAQs on JSP/Servlets can be found at:
>   >
>   >  http://archives.java.sun.com/jsp-interest.html
>   >  http://java.sun.com/products/jsp/faq.html
>   >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>   >  http://www.jguru.com/faq/index.jsp
>   >  http://www.jspinsider.com
>
>
>
===========================================================================
>   To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
>   For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
>   Some relevant FAQs on JSP/Servlets can be found at:
>
>    http://archives.java.sun.com/jsp-interest.html
>    http://java.sun.com/products/jsp/faq.html
>    http://www.esperanto.org.nz/jsp/jspfaq.jsp
>    http://www.jguru.com/faq/index.jsp
>    http://www.jspinsider.com
>
>
==========================================================================To
> unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com
This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

                Visit us at http://www.cognizant.com

Reply via email to