You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Claudio Veas <cm...@yahoo.com.ar> on 2006/02/25 02:54:47 UTC

JSP with use beans calls do not work

Hello list, I m really new to tomcat ,I have the following problem recently
I tried to resume my practices on JSP on my tomcat server but I seem to have
a problem and I do not know what it is. Every time I try to run a JSP with a
<usebean> it shows me this error 
 
 
org.apache.jasper.JasperException: /colors/controlguardo.jsp(1,1) 
	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler
java:39)
	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher
java:405)
	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher
java:146)
	org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator
java:1223)
	org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
	org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
	org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
	org.apache.jasper.compiler.Generator.generate(Generator.java:3284)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:189)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
java:563)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
java:293)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
Bye the way I tried with new examples but the I tried with some of the ones
that were already 
tested and functioning and it didnot work either. One other thing my .class
files are in 
C:\Archivos de programa\Apache Software Foundation\Tomcat 5.5\common\classes
Anyway when they used to work they were in the same place but maybe I have
done something wrong that 
is making the server work wrong or al least not the way I want it to work. 
Any Ideas will be wellcome thanks for your attention 
Claudio Veas

Re: JSP with use beans calls do not work

Posted by Eric Haszlakiewicz <er...@swapsimple.com>.
On Sat, Feb 25, 2006 at 05:04:18PM -0300, Claudio Veas wrote:
>    > Hello list, I m really new to tomcat ,I have the following problem
>    > recently
>    > I tried to resume my practices on JSP on my tomcat server but I seem
>    to
>    > have
>    > a problem and I do not know what it is. Every time I try to run a
>    JSP with
>    > a
>    > <usebean> it shows me this error
>    >
>    >
>    > org.apache.jasper.JasperException: /colors/controlguardo.jsp(1,1)
>    >         org.apache.jasper.compiler.DefaultErrorHandler.jspError

Check to make sure there isn't another, more descriptive exception either
before or after that one.  If that's really the only error you see in the
logs, then you might want to wrap your entire jsp page in a c:catch tag
(or <% try { %> and <% } catch (Exception e) { ... } %> code).
	Tomcat sucks at logging certain types of errors, so if you print out
the exception manually you might get some more insight as to what the
actual problem is.

eric


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JSP with use beans calls do not work

Posted by Martin Gainty <mg...@hotmail.com>.
Also Claudio
Make SURE your tld's (TagLibDescriptors) and jsp libraries (jars) are located in your WEB-INF/lib folder
Bon Chance,
Martin-
  ----- Original Message ----- 
  From: Claudio Veas 
  To: Tomcat Users List 
  Sent: Saturday, February 25, 2006 3:04 PM
  Subject: Re: JSP with use beans calls do not work


        Here is the code Althougt I installed tomcat again and now it's funtioning I dont know why (I was in a hurry).  

        -------Original Message-------

        From: umesh balasubramaniam
        Date: 02/25/06 00:05:27
        To: Tomcat Users List
        Subject: Re: JSP with use beans calls do not work

        could you please post your jsp code?

        umesh

        On 2/24/06, Claudio Veas <cm...@yahoo.com.ar> wrote:
        >
        > Hello list, I m really new to tomcat ,I have the following problem
        > recently
        > I tried to resume my practices on JSP on my tomcat server but I seem to
        > have
        > a problem and I do not know what it is. Every time I try to run a JSP with
        > a
        > <usebean> it shows me this error
        >
        >
        > org.apache.jasper.JasperException: /colors/controlguardo.jsp(1,1)
        >         org.apache.jasper.compiler.DefaultErrorHandler.jspError
        > (DefaultErrorHandler
        > java:39)
        >         org.apache.jasper.compiler.ErrorDispatcher.dispatch
        > (ErrorDispatcher
        > java:405)
        >         org.apache.jasper.compiler.ErrorDispatcher.jspError
        > (ErrorDispatcher
        > java:146)
        >         org.apache.jasper.compiler.Generator$GenerateVisitor.visit
        > (Generator
        > java:1223)
        >         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
        >         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        >         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
        >         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
        >         org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
        >         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        >         org.apache.jasper.compiler.Generator.generate(Generator.java:3284)
        >         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java
        > :189)
        >         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
        >         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
        >         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
        >         org.apache.jasper.JspCompilationContext.compile
        > (JspCompilationContext
        > java:563)
        >         org.apache.jasper.servlet.JspServletWrapper.service
        > (JspServletWrapper
        > java:293)
        >         org.apache.jasper.servlet.JspServlet.serviceJspFile(
        > JspServlet.java:314)
        >         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        >         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        >
        > Bye the way I tried with new examples but the I tried with some of the
        > ones
        > that were already
        > tested and functioning and it didnot work either. One other thing my
        > .class
        > files are in
        > C:\Archivos de programa\Apache Software Foundation\Tomcat
        > 5.5\common\classes
        > Anyway when they used to work they were in the same place but maybe I have
        > done something wrong that
        > is making the server work wrong or al least not the way I want it to work.
        > Any Ideas will be wellcome thanks for your attention
        > Claudio Veas
        >

       
               
       



------------------------------------------------------------------------------


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
  For additional commands, e-mail: users-help@tomcat.apache.org

Re: JSP with use beans calls do not work

Posted by Claudio Veas <cm...@yahoo.com.ar>.
Here is the code Althougt I installed tomcat again and now it's funtioning I
dont know why (I was in a hurry).  
 
-------Original Message-------
 
From: umesh balasubramaniam
Date: 02/25/06 00:05:27
To: Tomcat Users List
Subject: Re: JSP with use beans calls do not work
 
could you please post your jsp code?
 
umesh
 
On 2/24/06, Claudio Veas <cm...@yahoo.com.ar> wrote:
>
> Hello list, I m really new to tomcat ,I have the following problem
> recently
> I tried to resume my practices on JSP on my tomcat server but I seem to
> have
> a problem and I do not know what it is. Every time I try to run a JSP with
> a
> <usebean> it shows me this error
>
>
> org.apache.jasper.JasperException: /colors/controlguardo.jsp(1,1)
>         org.apache.jasper.compiler.DefaultErrorHandler.jspError
> (DefaultErrorHandler
> java:39)
>         org.apache.jasper.compiler.ErrorDispatcher.dispatch
> (ErrorDispatcher
> java:405)
>         org.apache.jasper.compiler.ErrorDispatcher.jspError
> (ErrorDispatcher
> java:146)
>         org.apache.jasper.compiler.Generator$GenerateVisitor.visit
> (Generator
> java:1223)
>         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
>         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
>         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
>         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
>         org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
>         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
>         org.apache.jasper.compiler.Generator.generate(Generator.java:3284)
>         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java
> :189)
>         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
>         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
>         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
>         org.apache.jasper.JspCompilationContext.compile
> (JspCompilationContext
> java:563)
>         org.apache.jasper.servlet.JspServletWrapper.service
> (JspServletWrapper
> java:293)
>         org.apache.jasper.servlet.JspServlet.serviceJspFile(
> JspServlet.java:314)
>         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> Bye the way I tried with new examples but the I tried with some of the
> ones
> that were already
> tested and functioning and it didnot work either. One other thing my
> .class
> files are in
> C:\Archivos de programa\Apache Software Foundation\Tomcat
> 5.5\common\classes
> Anyway when they used to work they were in the same place but maybe I have
> done something wrong that
> is making the server work wrong or al least not the way I want it to work.
> Any Ideas will be wellcome thanks for your attention
> Claudio Veas
>
 
 

Re: JSP with use beans calls do not work

Posted by umesh balasubramaniam <um...@gmail.com>.
could you please post your jsp code?

umesh

On 2/24/06, Claudio Veas <cm...@yahoo.com.ar> wrote:
>
> Hello list, I m really new to tomcat ,I have the following problem
> recently
> I tried to resume my practices on JSP on my tomcat server but I seem to
> have
> a problem and I do not know what it is. Every time I try to run a JSP with
> a
> <usebean> it shows me this error
>
>
> org.apache.jasper.JasperException: /colors/controlguardo.jsp(1,1)
>         org.apache.jasper.compiler.DefaultErrorHandler.jspError
> (DefaultErrorHandler
> java:39)
>         org.apache.jasper.compiler.ErrorDispatcher.dispatch
> (ErrorDispatcher
> java:405)
>         org.apache.jasper.compiler.ErrorDispatcher.jspError
> (ErrorDispatcher
> java:146)
>         org.apache.jasper.compiler.Generator$GenerateVisitor.visit
> (Generator
> java:1223)
>         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
>         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
>         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
>         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
>         org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
>         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
>         org.apache.jasper.compiler.Generator.generate(Generator.java:3284)
>         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java
> :189)
>         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
>         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
>         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
>         org.apache.jasper.JspCompilationContext.compile
> (JspCompilationContext
> java:563)
>         org.apache.jasper.servlet.JspServletWrapper.service
> (JspServletWrapper
> java:293)
>         org.apache.jasper.servlet.JspServlet.serviceJspFile(
> JspServlet.java:314)
>         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> Bye the way I tried with new examples but the I tried with some of the
> ones
> that were already
> tested and functioning and it didnot work either. One other thing my
> .class
> files are in
> C:\Archivos de programa\Apache Software Foundation\Tomcat
> 5.5\common\classes
> Anyway when they used to work they were in the same place but maybe I have
> done something wrong that
> is making the server work wrong or al least not the way I want it to work.
> Any Ideas will be wellcome thanks for your attention
> Claudio Veas
>