unsolve problem

  • Thread starter albert85 via JavaKB.com
  • Start date
A

albert85 via JavaKB.com

i found the message like this when i run the JSP file
org.apache.jasper.JasperException: Cannot find any information on property
'EmpName' in a bean of type 'common.InfoBean'
org.apache.jasper.runtime.JspRuntimeLibrary.getReadMethod(JspRuntimeLibrary.
java:837)
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:
1011)
org.apache.jasper.compiler.Node$GetProperty.accept(Node.java:1062)
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)

can someone please help me to solve what the problem that i face
i store my class file in the CATALINA_HOME$/common/classes/
i using tomcat 5.5
 
H

hiwa

i store my class file in the CATALINA_HOME$/common/classes/
For a standard Web application, your common.InfoBean class should be
stored in :
$CATALINA_HOME/webapps/YourAppContext/WEB-INF/classes/common
 
A

albert85 via JavaKB.com

i try to put the classes on your way but still haven't solve the problem
actually what the problem i have???
 
C

Chris Smith

albert85 via JavaKB.com said:
i found the message like this when i run the JSP file
org.apache.jasper.JasperException: Cannot find any information on property
'EmpName' in a bean of type 'common.InfoBean'

Your problem is that you are trying to access a property called
"EmpName" on a bean of type "common.InfoBean", but the JSP container
can't find any information on it.

Seriously, you've got to be kidding. Did you actually believe that the
contents of the JSP file would be irrelevant to solving this problem?
Or the definition of common.InfoBean? Perhaps you think that Tomcat 5.5
is just so broken that it doesn't validly process any JSP files at all?

--
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
 
A

albert85 via JavaKB.com

actually what the meaning of "Tomcat 5.5
is just so broken that it doesn't validly process any JSP files at all?"
is it tomcat cannot support jsp?
it could not be, coz the other jsp page i can run successful just several
page i found the problem
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top