We help IT Professionals succeed at work.

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

keepworking
keepworking asked
on
Medium Priority
3,915 Views
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?

thanks
Comment
Watch Question

Commented:
is it without the ending

%>

if possible, post your code.

fargo

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

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

thanks fargo

Author

Commented:
hi, fargo:

thanks, I found error in code.

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

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

thanks
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.