• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error in Calling Bean from JSP

 
Lokesh Malik
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to ALL..
I am facing a very strange problem. The problem is accessing Bean from JSP files.
when i store the directory of my web application in Tomcat webapps directory then there is no problem.My programme is working fine.
But when i store my web application other then TOMCAT webapps directory then it shows runtime exception

org.apache.jasper.JasperException: Unable to compile class for JSP

and also display that there is no bean class.

i have already checked the CLASSPATH.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat doesn't use your CLASSPATH. It's irrelevant.

How are you mapping the webapp? From server.xml? From a Context fragment file? Are you specifying a work directory?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!