Javascript error- please help!

J

JumpingOffPlace

Hi,
I'm hoping that the wealth of knowledge here can stop me from spinning
my wheels on this syntax error for hours. :)

Below is the code, and the error I am recieving....

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/WEB-INF/tag-lib/struts-html-el.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tag-lib/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tag-lib/struts-logic-el.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tag-lib/c.tld" prefix="c" %>
<html>
<head>
<%@ page
language="java"
contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"
%>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="GENERATOR" content="IBM WebSphere Studio">
<meta http-equiv="Content-Style-Type" content="text/css">
<link href="theme/Master.css" rel="stylesheet" type="text/css">

<!-- ******* from here -->
<link rel="stylesheet" type="text/css" media="print"
href="<html:rewrite page='/theme/print.css' />" />
<link rel="stylesheet" type="text/css" media="screen"
href="<html:rewrite page='/theme/base1.css'/>" />
<link rel="stylesheet" type="text/css" media="screen"
href="<html:rewrite page='/theme/tab_base.css'/>" />
<link rel="stylesheet" type="text/css" media="screen"
href="<html:rewrite page='/theme/green.css'/>" />
<link rel="stylesheet" type="text/css" media="screen"
href="<html:rewrite page='/theme/CAW.css'/>" />
<!-- ****** to here -->

<title>VSAC Forms</title>

<!-- ****** from here -->

<script type="text/javascript" language="Javascript" src="<html:rewrite
page='/javascript/openNewWindow.js'/>"></script>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<script type="text/javascript">
_editor_url = './';
_editor_lang = 'en';
</script>
<script type="text/javascript" src="htmlarea.js"></script>
<script type="text/javascript" src="dialog.js"></script>
<script type="text/javascript" src="lang/en.js"></script>
<!-- ****** to here -->

</head>

<!-- ****** from here -->
<body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" marginwidth="0"
marginheight="0">
<body onunload="javascript:history.go(1)">
<body onload="HTMLArea.replace('txt1')">
<table width="700" border="1" bordercolor="#CCCCCC" cellpadding="0"
cellspacing="0">
<tr><td width="700">

<div id="courtnav" >&nbsp;&nbsp;<NOBR><a
href='http://services.vsac.org/ilwwcm/connect/VSAC/General/About+VSAC/About+Us/Who+we+are/'><bean:message
key="app.aboutUs" /></a>&nbsp;&nbsp;·&nbsp;&nbsp;<a
href='http://services.vsac.org/ilwwcm/connect/VSAC/General/About+VSAC/Site+Help/Site+Help/'><bean:message
key="app.siteHelp" /></a>&nbsp;&nbsp;·&nbsp;&nbsp;
<a
href='http://services.vsac.org/ilwwcm/connect/VSAC/General/About+VSAC/Contact+Us/'><bean:message
key="app.contactUs" /></a>&nbsp; </NOBR>
</div>


<div id="colorfield" >
<div id="logo"><IMG SRC="<html:rewrite
page='/images/logo_green.gif'/>" ALT="" WIDTH="101" HEIGHT="53"
BORDER="0">
</div>
<div id="pagehead">
<FONT color="#ffffff"><b><bean:message key="app.logo1" /><br>
&nbsp;&nbsp;&nbsp;<bean:message key="app.logo1a" /></b></font><br>
<bean:message key="app.logo1b" />
<!-- <h4><bean:message key="app.logo2" /></h4> -->

</div>

</div>

<div id="introfield">
<div id="textcontainer" >
<bean:message key="app.logo2" />
<div align="center">
<c:if test='${requestScope["org.vsac.sso.identity.u"]}'>Welcome: <c:eek:ut
value='${requestScope["org.vsac.sso.identity.u"]}'/></c:if>

Welcome:
<c:eek:ut value="${sessionScope.name}" />
</div>

</div>
</div>

<div id="maincontent" align="center">
<div id="textcontainer" >

<!-- ****** to here -->
<form action="mytest.php" method="post">
<textarea name="txt1" id="txt1" style="width:100%;height:300px">
<%response.write(request("txt1"))%> (this is where the error is)
</textarea>
<input type="submit" value="Post">
</form>
</td></tr>
</table>
<html:errors />
<html:form action="formAuth.do" >
<p>&nbsp;</p>

<p><label>Select ID: </label> &nbsp;
<html:select property="personId" >
<c:forEach var="formData" items="${idmTestIdentifiers}">
<html:eek:ption value="${formData}">
<c:eek:ut value="${formData}"/>
</html:eek:ption>
</c:forEach>
</html:select>

&nbsp;&nbsp;&nbsp;<b>Or</b>&nbsp;&nbsp;&nbsp;<label>Enter ID: </label>
<html:text property="personId1" /></p>

<p><html:submit value="Submit"
onclick="document.body.style.cursor='wait'" /></p>

</html:form>


<!-- ****** from here -->
<div>
</div>
<div>
</div>
<p>&nbsp;</P>
<jsp:include page="/bottomMenuBar.jsp" flush="true"/>

<!-- ****** to here -->

</body>
</html>


Error:
Syntax error on token "out", "=," "*=,""/=,""%=," ........ expected.

What am I missing???? I've been looking at this all morning- and am
sure I am overlooking something here...Please help! Thanks!

J
 
R

Randy Webb

JumpingOffPlace said the following on 9/27/2006 10:54 AM:
Hi,
I'm hoping that the wealth of knowledge here can stop me from spinning
my wheels on this syntax error for hours. :)

Below is the code, and the error I am recieving....

Try posting a URL to the HTML code the browser receives instead of the
server side code that generates it. Then, validate that code with the
W3C validator. Then test again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top