Wrox Home  
Search P2P Archive for: Go

  Return to Index  

servlets thread: Re: Application to Servlet Communication


Message #1 by "deepak" <deepsita@r...> on Mon, 4 Dec 2000 06:43:16 -0000
you cansend parameters by httprequest or can send through the form fields
which is easy by using HTML.
and can get the message by request.getParameter() method
eg.
sending parameter
<html>
<body>
<form method=post action="[servelet name with path]">
<input type=text name=t value=[value]>
<input type=submit>
</form>
</body>
</html>

getting parameter

String s=request.getParameter("t");

  Return to Index