A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
getting HttpServletRequest Object?
Joined: Dec 28, 2004
Jun 30, 2006 05:34:00
somehow in the init() method can i have the
[ June 30, 2006: Message edited by: Bear Bibeault ]
The Art Of Life Is To Know When To Be Useless And When To Be Useful - CHUANG TZU
Joined: Dec 11, 2004
Jun 30, 2006 05:45:00
The request object is generated when a request is made to your app (someone hits your site with a browser).
The init method occurs when the
is being deployed (before any requests can be made).
As far as your servlet is concerned: no request objects exist when your init method is being called.
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
subject: getting HttpServletRequest Object?
Finding the type browser from Servlet
SSL & relative urls.
Can I clone Request Object
JSF context problem
JSF Radio buttons in two column format
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014