try request.getParameterNames then for each name, use request.getParameter.

----- Original Message -----
From: Robo Zilka <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 24, 2000 5:29 AM
Subject: Re: CGI variables


> Thanks, but I red API and don't found method, which can read all CGI
> variables,
> not only some of them :(
> (In ASP there is a request.ServerVariables(name_of_variable) function, so
> I need to do something like:
>         for each item in Request.ServerVariables
>                 Response.Write item & "=" & Request(item) & "<br>"
>         next
> )
>
> RoBo Zilka
>    ____________
>   /EuroWeb a.s.
>  /www.euroweb.sk
> /mailto:[EMAIL PROTECTED]
>
> -----Original Message-----
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 23, 2000 6:40 PM
> To: [EMAIL PROTECTED]
> Subject: Re: CGI variables
>
>
> Robo Zilka wrote:
>
> > Know anybody, how to get(read) CGI variables in JSP or Servlet?
>
> Most of the CGI environment values that you will be interested in are
> represented
> by properties of the "request" object that is passed to your servlet (it
it
> an
> implicit variable in JSP pages).  For example, the QUERY_STRING value can
be
> retrieved by calling request.getQueryString().  Check the API
documentation
> for the
> ServletRequest and HttpServletRequest classes.
>
> >
> > Thanks
> >
> > RoBo Zilka
> >
>
> Craig McClanahan
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to