Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Pro JSP
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro JSP Advanced JSP coding questions. Beginning questions will be redirected to the Beginning JSP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro JSP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 19th, 2003, 07:36 AM
Registered User
 
Join Date: Aug 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default session Attribute

Problem:When I pass the attributes from pgm1.jsp to pgm2.jsp, it is ok the first time. But when I try again and it's supposed to get new parameters and saved in session attributes again in pgm1, but the result is the same in pgm2.
I use System.out.print to print cou_code in pgm1 and it displays correctly, but the result doesn't match in pgm2.The result is always the same.
Pgm1.jsp: a).It contains serveral session.setAttribute("cou_code");.....
b).a form inside which calls onSubmit to trigger javascript:window.open('pgm2.jsp','ExPrt','target= _blank',top=110,left=100,toolbar=no,scrollbars=no, location=no,width=300,height=5,status=no';return false;
c.) a submit button
Pgm2.jsp: a) session=true in @page
b) session.getAttribute("cou_code")......pgm processing
c) display a table

How can I solve it? Thanks a lot


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace an attribute with another attribute georgemeng XSLT 8 June 10th, 2008 11:04 AM
attribute Eddy de Boer XSLT 5 June 16th, 2006 07:12 AM
all attribute kfir XML 1 May 8th, 2006 09:34 AM
Access to attribute values from class of attribute jacob C# 1 October 28th, 2005 01:11 PM
session and cookie problem (empty session file) msincan BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 February 27th, 2005 05:31 PM



All times are GMT -4. The time now is 01:12 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.