File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Get Request Instance ID and Request Start Time from HTTP Request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Get Request Instance ID and Request Start Time from HTTP Request" Watch "Get Request Instance ID and Request Start Time from HTTP Request" New topic
Author

Get Request Instance ID and Request Start Time from HTTP Request

Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 325
If I receive a HTTP Request from web, how do I get the "request instance ID" and "requst start time" from this HTTP request? (Note: I import org.apache.http.HttpRequest;)

Thank you for your help.

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61001
    
  65

org.apache.http.HttpRequest is not part of the Servlet API. What are your intentions in using it?

If your intention is to handle the request in a servlet, then the correct interface is javax.servlet.http.HttpServletRequest.

And neither "instance id" nor "start time" are supported properties.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Get Request Instance ID and Request Start Time from HTTP Request