• Post Reply Bookmark Topic Watch Topic
  • New Topic

Where to put Bean in Java Web Server 2.0?

 
Sanjay Deshpande
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where to put Bean in Java Web Server 2.0?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Compiled Bean class files are treated just like servlet class files - they belong under the WEB-INF/classes directory for the application, with complete package name.
You must have your Bean in a package to avoid confusing results.
Bill
 
Sanjay Deshpande
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thnx for reply.
However ,
I do not have WEB-INF Dir.
Do i need to create one?Where?
Kindly answer...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!