File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Joined: Sep 06, 2000
Nov 20, 2000 05:00:00
I created a servletBean. I want to access the properties from other
. Can any one help me regading that problem.
Joined: Jan 31, 2000
Nov 20, 2000 18:00:00
If you want to share use of one
's info with other servlets withing a single ,whole web application, put the info in '
' like the following.
And grab the info in other servlets like this.
connectionPool = (ConnectionPool)context.getAttribute("connection-pool");
The above is a code snippet from one of my working web application, where one servlet creates the database connection pool and others just use it.
how to create statefull session bean in netbeans 6.9.1
Beans in JavaWebServer
How to execute a Servlet Bean?
How to run java beans in JWS?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014