Wrox Home  
Search P2P Archive for: Go

  Return to Index  

servlets thread: Application to Servlet Communication


Message #1 by "Bhagyamma" <bhagyakitty@y...> on Thu, 21 Sep 2000 08:34:38 +0100
> Hi i wanted help in passing parameter from application to 
> servlets this is
> urgent.

Hi,

You use standard HTTP requests to talk to your servlet; you
pass parameters along with the HTTP GET or POST request in
the same way you send form information back from a web page
containing a form. That is, you use URLs like this:
http://server/servlet?param1=foo¶m2=bar (for the GET
method, anyway).

You can then read these parameters out in the servlet using
the request.getParameter() method.

Cheers,

Dave.

-- 
David Long <davidl@w...>
Wrox Press - Programmer to Programmer(tm)
http://p2p.wrox.com/

  Return to Index