--- Mufaddal Khumri <[EMAIL PROTECTED]> wrote:
> <struts>
> <package name="authentication" namespace="/authentication"
> extends="mypackage">
>
> <action name="login" class="com.mypackage.authentication.LoginAction">
> <result name="success" type="freemarker">${originalUrl}</result>
> </action>
>
> </package>
>
> </struts>
>
> In this case the LoginAction received the original url as: http://
> localhost/mypackage/cr/test.action
>
> When I execute this code I get an exception:
>
> java.io.FileNotFoundException: Template /authentication/http://
> localhost/mypackage/cr/test.action not found.
You've defined a FreeMarker result; it's going to try to get a template with
the original URL as a name. This is almost certainly not what you want.
Wouldn't you want a "redirect" result?
d.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]