Nope. Servlet parameters come in via HTTP requests, so typically the
client is a browser. It can also be a program, but in any case,
parameters come from one of two places:

1. The query string on the url, http://www.foo.com?blat=foop&x=y
2. The body of POST, such as HTML form fields.

I highly recommend getting Jason Hunter's book -- check out
http://www.servlets.com/.

HTH,

Rod McChesney, Korobra


FISHER, MARK wrote:
>
> Ah, further reading of the source code has shown me that
> these classes are "implementable" classes and I have to
> write the functions myself.
>
> I take it this is the case?
>
> Mark
>
>  ----------
> From: FISHER, MARK
> To: [EMAIL PROTECTED]
> Subject: Setting parameters in a Servlet Request
> Date: 23 April 1999 11:23
>
> Hi, my first post to the group, so bear with me.
>
> I want to implement an application to servlet communication
> process, and as I'm fairly new to Java I have a question.
>
> A servlet receives a ServletRequest type in it's "service" method,
> and the docs say:
>
>    "[service] Carries out a single request from the client. The
>    method implements a request and response paradigm.
>    The request object contains information about the service
>    request, including parameters provided by the client"
>
> However, all I can see exposed on the ServletRequest class
> are getXXX methods, so how does the client application set
> the parameters that the servlet can read?
>
> This has to do with the "request and response paradigm",
> but I can't find information on this, so I'm a little stuck.
>
> Can anyone provide any pointers?
>
> TIA,
> Mark
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to