cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsui, Alban" <>
Subject redirection in websphere 4 ... bug?
Date Mon, 17 Mar 2003 17:53:23 GMT
I have written an action (written in xxp) to perform redirection ... similar
to the following:

<?xml version="1.0" encoding="UTF-8"?>
	String requestURI = request.getRequestURI();
	requestURI = requestURI.substring(0, requestURI.lastIndexOf('/')+1);

	String redirectURL = requestURI + "hello";

	// redirection
		<action:param name="name">admin_RURL</action:param>

	// setting success with move into the action wrapped pipeline


catch(Exception e)

	// failing this action with continue the current pipeline



This works in cocoon in sunon, cocoon in tomcat and cocoon in weblogic 7,
cocoon in websphere 5. However this doesn't work in websphere 4.x.

For some reasons, the redirect uri turn into cocoon/cocoon/mypath/hello,
instead of the expected cocoon/mypath/hello!!! So I am getting an extra
servlet context in the uri in the directed uri!

Has anyone got any idea what is going on?


This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message