Damjan S. Vujnovic wrote:
The url is formed in the usecases.js (located in the lenya/usecases directory of the .war), here is the relevant part:

    var url = request.getContextPath() + targetUrl;

    if (cocoon.log.isDebugEnabled())
cocoon.log.debug("usecases.js::executeUsecase() in usecase " + usecaseName + ", completed, redirecting to url = [" + url + "]");

    cocoon.redirectTo(url);

Furthermore, if i replace:

var url = request.getContextPath() + targetUrl;

with the:

var url = "/pis-web" + targetUrl;

where "/pis-web" is the context of my webapp (we're packaging & deploying customized lenya.war within our .ear application), the redirected url is valid, but I get another exception - stacktrace attached.

Kindest regards,
Damjan S. Vujnovic

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to