A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Portals and Portlets
Passing variable value from a JSP file to another JSP file embedded within the first
Joined: Nov 03, 2006
Nov 05, 2006 22:24:00
How can we pass a session variable from one
which is in a portletSession, to another JSP which we are calling from an IFRAME present in the same JSP.
E.g. "sequenceReports.jsp" has an IFRAME which is defined as �
<IFRAME name="avlReportssource" id="avlReportssource" height= "400" width= "300" marginheight="3" frameborder="0" src='<%= renderResponse.encodeURL(renderRequest.getContextPath() + "/jsp/ebip/ebipadmin/reportadmin/reports/availReports.jsp") %>'>
Here we are using �availReports.jsp� to populate the IFRAME. We are using Portlets, and sequenceReports.jsp is present in the PortletSession.
We have a variable in the session, which we want to use in availReports.jsp. In which way can this be done?
We have tried getting the session variable through request object in availReports.jsp, but didn�t get any results.
Author and ninkuma
Joined: Jan 10, 2002
Nov 05, 2006 23:07:00
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Passing variable value from a JSP file to another JSP file embedded within the first
How to pass session data between 2 Portlets???
Dynamic change the iframe height
Portlet Communication: What is application scope, anyway?
iFrame related topic
Passing value from a JSP to an iframe
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013