There are two types of URLs AribaWeb generates: component action URLs
and direct action URLs.
Component Action URL
---------------------------------
Once a session has been established, the app URL is always in this
format, and doesn't change for the session:
http://localhost:9150/Demo/AribaWeb/aw?awh=r&awssk=&dard=1
This is actually an advantage in security because very little client
state is not store in the URL.
Also, developer do not need to worry about specifying a URL to every
action.
If you have login protected page, bots cannot access the component
action URLs for those pages.
Direct Action URL
-------------------------
Public front door URLs can be in this format:
http://localhost:9150/Demo/AribaWeb/ad/foo/Bar
where Bar is the direct action class and foo is the fooAction method.
The "Demo" and "AribaWeb" part of the URL can be configured. You can
find out more about it here:
http://aribaweb.org/Documentation/DirectAction/DirectAction.htm
To further customized the URLs,
you can also configured your webserver to rewrite your custom public
URLs to AribaWeb direct action URLs.
Thanks,
Kingsley
====
Example here:
http://aribaweb.org/Documentation/DirectAction/DirectAction.htm#request_parameters
Thanks,
Kingsley
On Dec 21, 1:18 pm, zombie <shankarsa...@gmail.com> wrote:
> Thanks for the info. My followup question is for DirectAction URLs is
> there a way to specify a URL param (GET)?
> Such as
> http://localhost:9150/Demo/AribaWeb/ad/foo/Bar?q=something&r=someothe...
On Dec 21, 1:53 pm, Kingsley <kingsley.n...@gmail.com> wrote:
> Yes, and you can access the param in your direct action using
> request.formValueForKey()
>
> Example here:
>
> http://aribaweb.org/Documentation/DirectAction/DirectAction.htm#reque...
You need to make sure that the AWComponent you are using in your
direct action has validation turned off.
See PostContent.java for example.
Thanks,
Kingsley