473,320 Members | 1,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Javascript error- please help!

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:out
value='${requestScope["org.vsac.sso.identity.u"]}'/></c:if>

Welcome:
<c:out 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:option value="${formData}">
<c:out value="${formData}"/>
</html:option>
</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

Sep 27 '06 #1
1 1948
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.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Sep 27 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Andy Fish | last post by:
Hi, I want to use an anchor tag to invoke some javascript and I've read that it's bad form to use <a href="javascript:foo()"> I've read endless usenet posts and hint sites on the net, they all...
6
by: Alex Rast | last post by:
First of all, this is not a programming question. I'm a user, not programming in JavaScript. I'm not, however, a novice user or even a power user - I certainly know programming intimately as well...
12
by: Jeff S | last post by:
In a VB.NET code behind module, I build a string for a link that points to a JavaScript function. The two lines of code below show what is relevant. PopupLink = "javascript:PopUpWindow(" &...
6
by: ged | last post by:
Hi, i am a oo (c#) programmer, and have not used javascript for a while and i cant work out how javascript manages its references. Object References work for simple stuff, but once i have an...
14
by: Rich | last post by:
I am converting my enterprise solution from VS 2003 (.NET v1.1.4322) to VS 2005 (.NET v2.0.50727). The entire solution uses serveral technologies - Windows Server 2003 (AD, SQL Server 2000, IIS,...
13
by: John Smith | last post by:
I am using IE 6.0 from http://www.javaworld.com/javaworld/jw-07-1996/jw-07-javascript-p2.html I gather that "If you need to test a number of command lines, you can reduce the keystrokes by...
11
by: TJM | last post by:
Hi, A Javascript error is generated when the user types a few character in an INPUT TYPE=FILE and hits a submit button. The form does not post. Is there a solution to this problem? Thanks TJM
8
by: Taras_96 | last post by:
Hi everyone, We' ve come to the conclusion that we wish the user to be directed to an error page if javascript is disabled <enter comment about how a webpage shouldn't rely on javascript here :)...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.