Invalid character constant???????????

Posted on 2006-03-22
Last Modified: 2008-01-09
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 29 in the jsp file: /testing.jsp
Generated servlet error:
Invalid character constant

there is nothing in line 29 but <%

what does it mean? --Invalid character constant
any hint to find real error?

Question by:keepworking
    LVL 11

    Accepted Solution

    is it without the ending


    if possible, post your code.


    Author Comment

    yes, I have the ending.
    code is too long ....

    thanks fargo

    Author Comment

    hi, fargo:

    thanks, I found error in code.

    if (name.equals(' '))  //error here

    should be if (name.equals(" "))  //error gone


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
    INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
    The viewer will learn how to implement Singleton Design Pattern in Java.
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now