>
> But cannot be accessed with "http://127.0.0.1:8080/pets-store; (with the
> missing forward slash at the end). I get a "Cannot find an app for
> context 'null'." message on the browser.
>
This is a bug. When URL is "http://127.0.0.1:8080/pets-store;, then URI
becomes "/pets-store". UUF assumes
it was working on old release
https://github.com/wso2/carbon-uuf/blob/v1.0.0-m2/uuf-core/src/main/java/org/wso2/carbon/uuf/UUFRegistry.java#L82
but some how it has been removed in new, we should add it back
On Thu, May 26, 2016 at 9:17 AM, Sudharma Subasinghe
wrote:
> Hi
Hi Hemika,
I faced the same problem. I think, it is because the implementation says
"An URI must end with a slash."
[1]
https://github.com/wso2/carbon-uuf/blob/v1.0.0-m5/uuf-core/src/main/java/org/wso2/carbon/uuf/internal/util/RequestUtil.java#L29
On Thu, May 26, 2016 at 6:39 PM, Manuranga
Actually without slash one should redirect to the other , that's what
tomcat does
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev
IMO, ideally yes.
Hemika Kodikara
Software Engineer
WSO2 Inc.
lean . enterprise . middleware
http://wso2.com
Mobile : +9477762
On Thu, May 26, 2016 at 5:40 PM, Ramith Jayasinghe wrote:
> I think in both cases the app should load in the browser?
>
> On Thu, May 26, 2016 at
I think in both cases the app should load in the browser?
On Thu, May 26, 2016 at 5:31 PM, Hemika Kodikara wrote:
> Hi All,
>
> The pets-store can be accessed with "http://127.0.0.1:8080/pets-store/;
>
> But cannot be accessed with "http://127.0.0.1:8080/pets-store; (with the
>
Hi All,
The pets-store can be accessed with "http://127.0.0.1:8080/pets-store/;
But cannot be accessed with "http://127.0.0.1:8080/pets-store; (with the
missing forward slash at the end). I get a "Cannot find an app for context
'null'." message on the browser.
Also a small suggestion - Can we