• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where do i put the bean?

 
Soum Sark
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:
I am having problems running a jsp with a bean.
the jsp is placed in the directory
C:\Tomcat\webapps\ROOT
and the bean in the directory
C:\Tomcat\webapps\ROOT\WEB-INF\classes
classpath looks like this
CLASSPATH=C:\jdk1.3.1\bin;c:\Tomcat;c:\javaFiles;C:\Tomcat\webapps\ROOT\WEB-INF\
classes;C:\Tomcat\webapps\ROOT
when i trying running the *.jsp with the bean it gives an exception report and indicates
org.apache.jasper.JasperException: Unable to compile class for JSP
mainly showing that it cannot find the bean class file..
what am i doing wrong here?
tx
 
Raj Paul
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
see that u import the bean in ur jsp file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic