You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Corbin <dc...@imperitek.com> on 2001/08/29 16:03:42 UTC

Attribute value should be quoted

I'm getting the following exception from a particular JSP:

org.apache.jasper.compiler.ParseException: .....\AddCompany.jsp(58,36)
Attribute value should be quoted
	at org.apache.jasper.compiler.JspReader.parseToken(JspReader.java:478)
	at
org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:524)
	at
org.apache.jasper.compiler.JspReader.parseTagAttributes(JspReader.java:635)
	at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:798)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
	at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:833)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:209)
	at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
	at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)

The line in question reads:

<html:text size="40" property="description" />

if the syntactical color is correct, my quotes are balanced.

It looks just like one from another page that works fine.  I do have the
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
at the top of the .JSP file.

I'm baffled.  Any ideas?

Thanks.
David Corbin