473,320 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Regrading Posting to same JSP

Hi,
I am having tne file First.jsp. in that i am putting some records into the collection(Array List) and again putting it to the session variable.

I am getting that collection in the Second.jsp and assigning it to another collection variable say "col".
There exists Next button .
On clicking that button the collection should iterate and pass the necessary parameters to the Second.jsp itself
But the thing is once the page is reloaded, the collection "col" is again reinitializing and collection iterates from the start.
I need the second row in that collection is to be passed.

Please send the sample coding for this...


Thank U
Mar 24 '07 #1
1 1033
r035198x
13,262 8TB
Hi,
I am having tne file First.jsp. in that i am putting some records into the collection(Array List) and again putting it to the session variable.

I am getting that collection in the Second.jsp and assigning it to another collection variable say "col".
There exists Next button .
On clicking that button the collection should iterate and pass the necessary parameters to the Second.jsp itself
But the thing is once the page is reloaded, the collection "col" is again reinitializing and collection iterates from the start.
I need the second row in that collection is to be passed.

Please send the sample coding for this...


Thank U
Did you try using request.getAtribute instead?
Mar 26 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

145
by: David MacQuigg | last post by:
Playing with Prothon today, I am fascinated by the idea of eliminating classes in Python. I'm trying to figure out what fundamental benefit there is to having classes. Is all this complexity...
2
by: Jonathan M. Rose | last post by:
I am looking for a script that I can sit on an HTML server (Linux, Apache, PHP/Perl/Python/Etc.) that will allow me to do the following things: 1) Post news articles that consists of (i) a title...
21
by: Davinder | last post by:
can anyone recommend a good tool to convert documents to HTML on the fly. I need to integrate this tool with a VB app so it must have an API. thanks in advance Davinder davinder@gujral.co.uk
12
by: * ProteanThread * | last post by:
but depends upon the clique: ...
1
by: Allan Cammish | last post by:
I have seen some examples of client-side code inside an ActiveX control posting data back to the server in ASP. I have tried the code and it works well. However, I need to see how this is done...
10
by: DaveFash | last post by:
Posting variables from an HTML FORM, via the Request.Form function on the receiving ASP page is great. But how can you POST a Form variable to an ASP page -- without a human pushing a Submit...
2
by: Rabbit | last post by:
Dear All, I've been tried various configuration and did install SP1 on Windows 2003 Server. The problem now that I have is an aspx page located on the web site for taking the file post by...
29
by: Gernot Frisch | last post by:
Hi, I have no clue. - I want to align the red, green, blue boxes in one line - red,green,blue must be 45px high - red (center) must be as wide as possible - yellow must start exactly below...
0
iam_clint
by: iam_clint | last post by:
Javascript vs JSP I would like to note that JSP and JS are 2 different languages and are not used for the same thing. You would find better help for jsp posting under the Java forum. Posting...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.