> Hi all,
>
> I want to distinguish in the servlet from where
> the request came: ApJServAction .xml ... or from
> a form via get/post. How could I do this ?
>
> Thanks,
> Ralf
>

try HttpSerletRequest.getRequestURI , .getServletPath, .getScheme,
.getProtocol or .getMethod

also get Jason Hunter's book: Java Servlet Programming from O'Reilly

which describes these and other good things.

HTH
***********************************************************
Brett Knights                             626-432-5767 work
[EMAIL PROTECTED]                    626-355-1017 home
***********************************************************






----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://www.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to