[opencms-dev] forward command
Arian Abrahantes Quintana
Arian.Abrahantes.Quintana at cern.ch
Tue Jun 28 15:31:37 CEST 2005
oops sorry two small mistakes the initialization should be like this
CmsJspActionElement cms = new CmsJspActionElement(pageContxt, request, response);
the rest is the same
________________________________
From: opencms-dev-bounces at opencms.org on behalf of Arian Abrahantes Quintana
Sent: Tue 6/28/2005 3:19 PM
To: The OpenCms mailing list
Subject: RE: [opencms-dev] forward command
hi;
I presume initialized the CmsJspActionElement in some variable. In teh following way
CmsJspActionElement = new CmsJspActionElement(pageContxt, request, response)
From there you took:
String lname = request.getParameter("nameofuser");
at the moment you want to redirect to the next/following page (seems to be is some class or step-by-step procedure) try the line:
response.sendRedirect("path/of/the/next/page/whateveritsnameis.html?whiceverparameter=youwant");
This way it works fine for me...
hope it helps;
cheers arian
PS: http://www.hema.ch/products/web/opencms/package5.0/index.html is an online generated javadoc documentation where you can find a lot of stuff about opencms objects. you may also make your own javadoc (I mean for the servelet and opencms you have in your configuration) but I couldn't manage to do it there should somebody who may explain us..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 5146 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050628/1edb24fe/attachment.bin>
More information about the opencms-dev
mailing list