This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
 
subject: JavaBeans
 
Similar Threads
Smiley test
What is your favorite letter?
Congrats Amy!
Where are You ?
Another 'Y' game