doView(RenderRequest request, RenderResponse response) {
String value = request.getParameter("key");
// This works.
}
On 6/23/05, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote:
> This method is called when you send a POST request to HTTP server.
What if I need to get some variables from the GET request?
For example, i have the portlet which extracts the query name and datasource
name from the HTTP request in a way
http://somehost.com/pluto/portal/test?query=qname1&datasource=postgres
How can I get the variable values of query and datasource
the
request.getParameter("query");
This returns null
I read I need to get these parameters from processAction and then
response.setRenderParameter("query",value);
--
----------------------------------------------------------------
Topbit Du (杜桁枫)
MOBILE: +86 13482866221
MSN: [EMAIL PROTECTED]
YAHOO: topbitchina
----------------------------------------------------------------
