Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Beans in JSP  RSS feed

 
Manju Venkatachalam
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In which location i should place my bean class for JSP. In /WEB-INF/Classes directory in Dynamic web projects or inside EJB module...I'm using Eclipse...
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37180
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Manju,
It depends what classes refer to those JavaBeans. If it is just the JSPs, they should go in the web project. If they are used by the EJBs too, they could go in the EJB project or a new project just for the Java Beans.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37180
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the JSP forum since this isn't about HTML or JavaScript.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!