jspx and html entities

2004-04-06 Thread Flavio Tordini
hi all,
i'm creating a jspx file from an xhtml template. the xhtml contains html 
entities such as igrave;
Jasper is throwing this Exception:

org.apache.jasper.JasperException: /index.jspx(23,38) The entity igrave was 
referenced, but not declared.

org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:83)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:402)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126)
org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.java:241)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:235)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:139)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
how can i solve this problem?

thank you in advance,
flavio
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: jspx and html entities

2004-04-06 Thread Victor Anyakin
Flavio Tordini wrote:
hi all,
i'm creating a jspx file from an xhtml template. the xhtml contains html 
entities such as igrave;
Hi, Flavio
I've also experienced this problem. The solution is to use amp;igrave; 
in your XML-formatted JSP page. You may also find a very funny thing 
with ampersands in URL passed by a href=/a (@see chapter C.12, 
http://www.w3.org/TR/2002/REC-xhtml1-20020801). The only solution i've 
found is to flatten  this tag:
lt;a href=quotc:out value=${url} escapeXml=true/quot;
gt;Alt;/agt;
I hope someone will tell me a better way to solve this issue.

--
 ,
  ( ) [EMAIL PROTECTED]
Victor Anyakin (IT Spetialist) [EMAIL PROTECTED]
OpenPGP Key ID:  0xC1F60269
Key Fingerprint: FD67 FE27 0618 9702 9A27  2171 0867 5AC7 C1F6 0269


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]