The servlet gets the usual references to a
HttpServletRequest and HttpServletResponse, but it can
get the full path of the file it is being asked to
serve using the expression
getServletContext().getRealPath(request.getServletPath()),
where 'request' is the HttpServletRequest passed to
doGet() or doPost().

Barry

--- Shahed Ali <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Can someone please give me a quick overview on how 
> extension file mapping works ?
> 
> What I really want to know what info does the
> servlet get when
> it is invoked by a file mapping ?
> 
> Thanks
> Shahed
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to