By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,213 Members | 1,296 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,213 IT Pros & Developers. It's quick & easy.

Javascript error- please help!

P: n/a
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....

<!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" %>
<%@ page
contentType="text/html; charset=ISO-8859-1"
<meta http-equiv="Content-Type" content="text/html;
<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
<meta http-equiv="Content-Type" content="text/html;
<script type="text/javascript">
_editor_url = './';
_editor_lang = 'en';
<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 -->


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

<div id="courtnav" >&nbsp;&nbsp;<NOBR><a
key="app.aboutUs" /></a>&nbsp;&nbsp;·&nbsp;&nbsp;<a
key="app.siteHelp" /></a>&nbsp;&nbsp;·&nbsp;&nbsp;
key="app.contactUs" /></a>&nbsp; </NOBR>
<div id="colorfield" >
<div id="logo"><IMG SRC="<html:rewrite
page='/images/logo_green.gif'/>" ALT="" WIDTH="101" HEIGHT="53"
<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 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

<c:out value="${}" />


<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)
<input type="submit" value="Post">
<html:errors />
<html:form action="" >

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

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

<p><html:submit value="Submit"
onclick="'wait'" /></p>

<!-- ****** from here -->
<jsp:include page="/bottomMenuBar.jsp" flush="true"/>

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

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!


Sep 27 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
JumpingOffPlace said the following on 9/27/2006 10:54 AM:
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.

Chance Favors The Prepared Mind
comp.lang.javascript FAQ - & newsgroup weekly
Javascript Best Practices -
Sep 27 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.