hi
i tried getting a java string inside a html text area using javascript. but
my code throws errors like
*** Syntax Error: Unexpected symbol ignored
120. <TEXTAREA COLS=40 ROWS=20 NAME="RESULT">
^--------------^
*** Syntax Error: ";" inserted to complete LocalVariableDeclarationStatement
120. <TEXTAREA COLS=40 ROWS=20 NAME="RESULT">
^-----^
*** Syntax Error: ";" inserted to complete ExpressionStatement
120. <TEXTAREA COLS=40 ROWS=20 NAME="RESULT">
^
*** Syntax Error: ; expected instead of this token
</PRE>
<p>
</body>
the actual code is
<script language= "javascript">
var javaString=JavaObj.methodThatReturnsAString(res);
var JavaScriptString = JavaString + "";
RESULT.value+=JavaScriptString+"\n"
</script>
//out.println(res);
//out.println("<br>");
<%
break;
can anyone help me in this
thanks in advance
Gunaseelan
=====================================================================
Gunaseelan, R.
Asst. Systems Engineer,
Tata Consultancy Services GE Center,
185, Lloyds Road, Chennai - 600 086, India
Ph: 91-44-825 1941 x 423 , Fax: 91-44-826 0164
======================================================================
===========================================================================
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