Haha, found a workable way:

TemplateLink link=new TemplateLink(data);
data.getResponse().sendRedirect(link.setPage("???.vm").toString());  
  
----- Original Message -----
From: Kasper Nielsen
Sent: 2001��7��30�� 17:43
To: [EMAIL PROTECTED]
Subject: Re: Server side Redirect
  
If the 'last version'="3.0" see
http://cvs.apache.org/viewcvs/jakarta-turbine/TURBINE_3_0_README.txt?rev=1.2
&content-type=text/vnd.viewcvs-markup

- Kasper

----- Original Message -----
From: "joe black" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 11:12 AM
Subject: Server side Redirect


hi everyone:

in the last version of Turbine, I can redirect my page using the code below:

TemplateLink link=new TemplateLink(data);
data.setRedirectURI(link.setPage("acl,UserList.vm").toString());
data.setStatusCode(302);

but now it doesn't work! Is there a new method or something is changed in
this one?

thanx


joeGet more from the Web.  FREE MSN Explorer download :
http://explorer.msn.com




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] more from the 
Web.  FREE MSN Explorer download : http://explorer.msn.com

Reply via email to