Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can not access the bean

 
hammer jan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everyone:
I use tomcat4.1.12 when i created a new app under
$CATALINA_HOME/webapps name 'bbb'.
under 'bbb' i have 'WEB-INF' and a 'bbb.jsp'
$CATALINA_HOME/webapps
 
hammer jan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everyone:
I use tomcat4.1.12 when i created a new app under
$CATALINA_HOME/webapps name 'bbb'.
================================
$CATALINA_HOME/webapps
|___bbb
|__bbb.jsp
|__WEB-INF
|___sss
|___bean.class
=======================================
in bbb.jsp i use tag
<jsp:useBean id='a' class='sss.bean' scope='request' />
but when i open the explorer to see ,
the Tomcat show me a 500 error:
'class file contains wrong class: bean
Please remove or make sure it appears in the correct subdirectory of the classpath.
sss.bean a=null;
please help who should i do
thanks
hammer
 
hammer jan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry i lost :
under WEB-INF is 'classes' then is 'ccc' and then is 'bean.class'
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic