[opencms-dev] forward command
bub habub
japorami at yahoo.com
Tue Jun 28 13:49:50 CEST 2005
hi all,
m sorry for asing such an easy question but somehow i
didn't get it today. searching already for hours.
i just want to forward a request to another page. the
second page should then be able to get the variables
from the first page via request.getParameter but
somehow cannot get variable.
here the code
part of the first page:
CmsUUID userid = temp.getUserLastModified();
CmsUser projectleader = cmsobject.readUser(userid);
//out.println(userid);
String emailofuser = projectleader.getEmail();
out.println(emailofuser);
String url = temp.getRootPath();
String filename = temp.getName();
//out.println(url);
out.println(filename); //muss noch genauer
aufgebaut werden
//cmsobject.forward("send_update_reminder.jsp");
%>
<jsp:forward page="send_update_reminder.jsp" /> //
this is just an idea
<%
another idea was to use sth like cms.forward() but i
couldn't find a method like this.
part of second page
String email = request.getParameter("emailofuser");
String lname = request.getParameter("nameofuser");
any help. how can i just forward a request to another
page.
sorry again to spam the mailing list for such a small
issue
thank you
jap
____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com
More information about the opencms-dev
mailing list