Re: general use along with logon admin to content
Re: general use along with logon admin to content
- Subject: Re: general use along with logon admin to content
- From: Dirk Bajohr <email@hidden>
- Date: Thu, 14 Oct 2004 01:26:54 +0200
to get me part of the info, but is there a way to get the var/value
pairs with some other wo method?
To get the request parameters you can use the methods:
stringFormValueForKey("key") and numericFormValueForKey("key")
You find both methods in WORequest.
Change the URL from:
"http://host/cgi-bin/app.woa?user=admin"?
to
"http://host/cgi-bin/WebObjects/app.woa/wa/DirectActionClass/
directActionName?user=admin"
and get the parameter:
String username = request.stringFormValueForKey("user");
HTH,
Dirk
--
Dirk Bajohr
iSOLUTION - Individuelle Software fuer moderne Kommunikation
Hauptstr. 50
53757 Sankt Augustin
T +49 2241 921567-0
F +49 2241 921567-89
http://www.isolution.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden