<% If( 1 < 2) { %>

"If" should be "if"  -- Check this.

Hari.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, August 06, 2001 2:51 PM
Subject: Antwort: RE: jasper exeption


>   this is my code - nothing wrong with it   :
>
>  <p>
> <% If (1 < 2) {%>
>
>  hallo
>
> <% } %>
>  </p>
>
> so the jasper exeption error is even worng ?!?
>
>
>
>  -------------------------------------------------------------------------
-
>           Externe Mail    Paul Foxton <[EMAIL PROTECTED]>    06.08.2001
>           10:57
>  -------------------------------------------------------------------------
-
>
>
>
>
> An:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> cc:
>
> Thema:    RE: jasper exeption
>
> you're probably missing a ';' a few lines further up in your code,
> something
> like that.
>
> Check you code again or post the rest.
>
> cheers,
>
> Paul
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: 06 August 2001 10:12
> > To: [EMAIL PROTECTED]
> > Subject: jasper exeption
> >
> >
> > hi,
> >
> > i have a problem with a simple if clause in my jsp. the
> > syntax of the code
> > is correct, but tomcat will not compile the page. here is the alert:
> > plz can u help me
> >
> > greets
> >
> > bastian
> >
> > Internal Servlet Error:
> > org.apache.jasper.JasperException: Unable to compile class for JSPC:
> > \tomcat\work\localhost_8080%2Fbechtle\_0002ftext_0002ftext_000
> > 5fuebersicht_0002ejsptext_0005fuebersicht_jsp_15.java:227:
> >
> > ';' expected.
> >                  If (1 < 2) {
> >                            ^
> > 1 error
> >
> >            at
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
> >            at
> > org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
> >            at
> > org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader1
> > 2.java:146)
> >            at
> > org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
> >            at
> > org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfN
> > ecessary(JspServlet.java:258)
> >
> >            at
> > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
> > (JspServlet.java:268)
> >
> >            at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> > .java:429)
> >            at
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
> >            at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >            at
> > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper
> > .java:405)
> >            at org.apache.tomcat.core.Handler.service(Handler.java:287)
> >            at
> > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> >            at
> > org.apache.tomcat.core.ContextManager.internalService(ContextM
> > anager.java:812)
> >
> >            at
> > org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
> >            at
> > org.apache.tomcat.service.http.HttpConnectionHandler.processCo
> > nnection(HttpConnectionHandler.java:213)
> >
> >            at
> > org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoin
> > t.java:416)
> >            at
> > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPo
> > ol.java:501)
> >            at java.lang.Thread.run(Thread.java:484)
> >
> >
>
>
>
>
>

Reply via email to