Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JSP Error -- Equal Symbol Expected

Tags:

java

jsp

I'm relatively new to JSPs, and I'm trying to use a FormBean within one of my files. When I try to open the JSP page on a local Tomcat server, I get the following error:

org.apache.jasper.JasperException: /entryForm.jsp (line: 4, column: 21) equal symbol expected

The first five lines of my code are:

    <!DOCTYPE html>
    <%@ page import = "jared.simpledatabase.* %>

    <jsp:useBean id="form" class="jared.simpledatabase.FormBean" scope="session"/>
    <jsp:setProperty name="form" property="*"/>

Any ideas what I'm doing wrong? Thanks!

like image 311
Jared Nielsen Avatar asked Feb 28 '13 20:02

Jared Nielsen


1 Answers

Here's a guess - missing double quote:

<%@ page import = "jared.simpledatabase.*" %>
like image 193
duffymo Avatar answered Oct 21 '22 12:10

duffymo