[opencms-dev] How redirect a request?

Rafael Diaz Valdes Rafael.Diaz.Valdes at cern.ch
Wed Jan 5 11:59:36 CET 2005


Hi Ulrich 
 But if I call the other page using response.sendRedirect("/address/of /the/other.jsp") in other.jsp I dont found the parameters.
Should I use response.sendRedirect() or cms.include() to call the other page ???
Best Regards
Rafael

	-----Original Message----- 
	From: opencms-dev-bounces at opencms.org on behalf of lists at rueth.info 
	Sent: Wed 1/5/2005 11:20 AM 
	To: The OpenCms mailing list 
	Cc: 
	Subject: Re: [opencms-dev] How redirect a request?
	
	


	Why not by calling the other jsp page with these parameters (like for
	example
	http://localhost:8080/opencms/opencms/sites/test/othersite.jsp?username=abcd&sessionid=2376)?
	You can get the parameters from any url using
	request.getParameter("<parameter-name>").
	
	Regards
	Ulrich
	
	Rafael Diaz Valdes <Rafael.Diaz.Valdes at cern.ch> schrieb am 05.01.2005,
	10:52:42:
	> Hi all,
	> 
	> How can I redirect the request parameters from a page to other one using the Cms classes?? I'm preparing a form to create a web user, the request is sent to a jsp to check  if there are other user with this name  then I like to send these parameters to other jsp page to create the webuser . 
	> 
	> Best regards
	> Rafael
	
	
	_______________________________________________
	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
	

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4882 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050105/bd1cf28b/attachment.bin>


More information about the opencms-dev mailing list