Forums Register Login

how to initialize or call a servlet from init method

+Pie Number of slices to send: Send
how to initialize or call a servlet from init method
i wanna to do that in the init method only . can some one give me code
+Pie Number of slices to send: Send
Not sure what you mean. The init() method is where you PUT your servlet initialization code. If you want one servlet to affect how another servlet is initialized, I'd probably have to know something more specific.
+Pie Number of slices to send: Send
"kishu",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.
CAUTION! Do not touch the blades on your neck propeller while they are active. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 597 times.
Similar Threads
init method
How does servlet decide which init method to call
Initialization of ServletConfig and ServletContext objects
init parameter.
How to Unit test an axis service that extends ServletEndpointSupport?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:26:26.