Yogaraj, respecting your Tamil Language..
But its not fair, anyway...
:))
Joshy

-----Original Message-----
From: Martin Simon [mailto:martin.simon@;VERA.CZ]
Sent: Tuesday, November 05, 2002 4:08 PM
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

===========================================================================
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

Reply via email to