Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jBoss and JRun  RSS feed

 
Nelson Nadal
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im executing JSP page in JRun and its ok. My JSP contains an instantation of class. I put that class in the jsp directory.
But in jBoss that instantation reports error. It can't see that class. I just put the class in same directory.
Where am i supposed to put that class? Thanks.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
if you just deploy a normal class this must be under WEB-INF/classes or jars WEB-INF/lib
Olli
 
Nelson Nadal
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Oliver I'll try your advice. Actually Im in the midst of review in SCWCD at the same time has a project with that technology. As I go along I've read that class might be a simple bean? Am I going to use the jsp:useBean action?
My former code inside the jsp simply instantiate it... I put that class inside the web-inf/jsp directory and it works in JRun but in JBoss it doesnt work, now I'll try your suggestion and the bean action.

Thanks again....
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!