File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Why my page cause big exception? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Why my page cause big exception?" Watch "Why my page cause big exception?" New topic

Why my page cause big exception?

mike hu

Joined: Aug 09, 2006
Posts: 2
When i access the following page, big exception is thrown out. it seems the string "Γ3Γ7▀[" cause the trouble, the page can be displayed well if I remove the string. the following is the page and the exception:
<%@ page contentType="text/html;charset=UTF-8" %>
out.write( "\u000E"+"Γ3Γ7▀[" );

the exception is:
Sep 12, 2006 3:33:31 PM org.apache.jasper.compiler.JspReader pushFile
SEVERE: Exception parsing file
at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
at sun.nio.cs.StreamDecoder$ConverterSD.implRead(
at org.apache.jasper.compiler.JspReader.pushFile(
at org.apache.jasper.compiler.JspReader.<init>(
at org.apache.jasper.compiler.ParserController.doParse(
at org.apache.jasper.compiler.ParserController.parse(
at org.apache.jasper.compiler.Compiler.generateJava(
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.jasper.JspCompilationContext.compile(
at org.apache.jasper.servlet.JspServletWrapper.service(
at org.apache.jasper.servlet.JspServlet.serviceJspFile(
at org.apache.jasper.servlet.JspServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.process(
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
at org.apache.tomcat.util.threads.ThreadPool$
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63547

"hu jh",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

JavaRanch Sheriff

[Asking smart questions] [About Bear] [Books by Bear]
mike hu

Joined: Aug 09, 2006
Posts: 2
thanks for kind notify.
and it is a pity for no one is interesting in my problems.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Which encoding is used for those characters? Are you using JDK 1.4 or 5.0?
[ September 13, 2006: Message edited by: Ulf Dittmer ]
I agree. Here's the link:
subject: Why my page cause big exception?
It's not a secret anymore!