[opencms-dev] forward command
Alexander Wallace
aw at avatartechnology.com
Tue Jun 28 15:19:05 CEST 2005
As far as i know, this doesn't work... I've tried and asked... I believe that
it is explained in the alkacon docs, in the section about including files...
I think it is because the forward looks for the jsp in the real fs, and it's
not there...
If there is a way to do it i would love to know, for now, i have been using
the session and redirects, i would rather use the request cuz of it's
lifespan, but i could never get it to work...
Alex...
On Tuesday 28 June 2005 06:49 am, bub habub wrote:
> 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
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list