Advertisement

03.11.2008 at 01:11PM PDT, ID: 23233120
[x]
Attachment Details

how to pass variables from a jsp page to a jsp within an iframe

Asked by courtenayt in Java Server Pages (JSP), Hypertext Markup Language (HTML)

Tags: jsp, html

Hi,

I have a question about how to pass a variable from a jsp page (index.jsp) to a jsp page (test.jsp) that appears on the index.jsp page within an iframe.  If possible, I want to avoid using javascript because my app is for customers with extremely old computers/browsers.

My additional problem is I need the following to happen with the variable passed in:

When the variable is retrieved in test.jsp, the variable is used to query the database and display various data/links in the iframe.  I have the database stuff all working.

My problem is, that in the data displayed, I need to be able to include links (and I don't know how to format them), so when clicked, the link will redisplay the test.jsp page within the iframe, but this time instead of displaying the data from the original variable passed in from index.jsp, it instead uses a variable appended to the end of the link.  Is this possible, and if so, how do I do it?

Thanks in advance!
CourtenayStart Free Trial
[+][-]03.11.2008 at 01:42PM PDT, ID: 21100071

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.11.2008 at 02:17PM PDT, ID: 21100471

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.12.2008 at 01:19AM PDT, ID: 21103872

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.12.2008 at 06:43AM PDT, ID: 21105851

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Java Server Pages (JSP), Hypertext Markup Language (HTML)
Tags: jsp, html
Sign Up Now!
Solution Provided By: courtenayt
Participating Experts: 3
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628