wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes JavaBeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JavaBeans" Watch "JavaBeans" New topic
Author

JavaBeans

Chris Stewart
Ranch Hand

Joined: Sep 14, 2002
Posts: 184
Does anyone know what I need to add to my web.xml file to "recognize" a JavaBean in my web app? I'd like to use it as a session scoped bean.
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Moving to the "EJB and Other J2EE Technologies" forum.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
You don't have to put anything in the web.xml to put a bean in the session. Just do it.
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JavaBeans
 
Similar Threads
Smiley test
What is your favorite letter?
Congrats Amy!
Where are You ?
Another 'Y' game