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

need urgent help in jsp beans

 
sreedhar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,
I am facing problem in jsp. I am creating a jsp file name home.jsp which i put in public_html directory(Currently i am using javawebserver2.0).In this jsp file i am refering a bean name Omnistats which i put in the directory d:\javawebserver2.0\servlets\omnijobs in the following way
<jsp:useBean id="stats" class="omnijobs.Omnistats" scope="session" />
with this, the jsp file working fine in my machine. But when i move these files to server it is giving Omnistats bean not found error. I created same directory structure and put the files as in my machine.
why this error came? what's my mistake? If any thing please correct me.
Thanks and Regards,
sreedhar garimella.
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the CLASSPATH set correctly on the server? I.e., does it include the parent DIR of omnijobs?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic