1.  What version of tomcat are you on?
2.  Does the URL for the outermost window have "jsessionid" in it?
3.  What does the URL for the IFRAME look like?

Gary

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx 
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Paul Holm
Sent: Monday, January 15, 2007 3:29 PM
To: Java 400 List
Cc: jepstein@xxxxxxxxxxxxxxxxx; 'Wesley King'; 'Kevin Getting'
Subject: Web App Session Management Issue

We are working on web app that allows JDBC selection of a 
database record from an HTML / JSP page.  

We want the output to be partial HTML with our existing menu 
structure AND an embedded PDF.  

 

The desire is to allow the richness of a PDF document merged 
with runtime as400 data.  We have this working correctly in 
one instance by generating a FDF file which references the 
PDF and sends to browser however this is only the PDF output 
not the surrounding HMTL, etc.  

 

To solve this, we've attempted to create an IFRAME where the 
PDF / FDF would appear within our html page.  Finally, the issue:

 

Issue: 

The HTML IFRAME causes creation of a new Java (Tomcat) 
session.  The IFRAME source does not have access to the 
previously queried database information.


 

I know we could work around this by passing more parms with 
the IFRAME tag but that makes it kinda messy and may require 
another SQL to the database. 

 

Does anyone know a workaround?   I.E.  Is it possible to have 
a IFRAME share
the same Java session on the server?

 

Thanks,  Paul Holm

--
This is the Java Programming on and around the iSeries / 
AS400 (JAVA400-L) mailing list To post a message email: 
JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change 
list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, 
please take a moment to review the archives at 
http://archive.midrange.com/java400-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.