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
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
It is sorta covered in the
JavaRanch Style Guide
subject: getting HttpServletRequest Object?
JSF context problem
Finding the type browser from Servlet
SSL & relative urls.
JSF Radio buttons in two column format
Can I clone Request Object
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015