• Post Reply Bookmark Topic Watch Topic
  • New Topic

environment property

 
Suri Babs
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you set an environment proerty servlets and EJB's to use.
thanks in advance
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With the deployment descriptor. For EJBs this is achieved using the env-entry element, for servlets using the init-param element (if I remember correctly). See the deployment descriptors at http://java.sun.com/dtd/ for details.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!