Any way for dynamic include t o pass back data to including page???

Posted on 2004-11-14
Medium Priority
Last Modified: 2010-04-01
Any way for a dynamic include to pass back data to the including including page???
Question by:894359
  • 2
LVL 11

Expert Comment

ID: 12578063
Use session varaible to pass

// in included page
String temp = "Hello";
session.setAttribute("name", object);

// in including page
String str = (String)session.getAttribute("name");
LVL 11

Accepted Solution

sompol_kiatkamolchai earned 2000 total points
ID: 12578068
Or if you want to use the more narrow scope, please try

// in included page
String temp = "Hello";
pageContext.setAttribute("name", object);


// in including page
String str = (String)pageContext.getAttribute("name");

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SingleRun is a tool that ensures that only one instance of an application is started, running it again brings the application to focus.
The onset of year 2018 has been a usual business for IT teams still struggling to find their way out in terms of strengthening their cloud security.
Get the source code for a fully functional Access application shell with several popular security features that Access VBA application developers desire, but find difficult or impossible to figure out how to code. You get the source code for managi…
If you are looking for an automated solution for backup single or multiple Office 365 user mailboxes to Outlook data file, then you can use Kernel Office 365 Backup & Restore tool. Go through the video to check out the steps to backup single or mult…
Suggested Courses

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question