aspose file tools*
The moose likes Servlets and the fly likes JSp-urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSp-urgent" Watch "JSp-urgent" New topic
Author

JSp-urgent

ram kumar
Greenhorn

Joined: Nov 24, 2000
Posts: 12
hi all
can anyone please help me to solve my problem..
1)the thing is that i have 'N' no of fields which is generated dynamically by the user..after filling the fields the user submits the data that should be taken to next JSP page(say like page1,page2, etc)..so my values from page + values entered in page passed to the server for further manipulation..this is normal
2)but if my user again goes back to pageno1 & reenters the values then this should also be carried to pageno2 and the changes in the pageno2 must reflect..
..my problem is i can't use hidden values to pass from one page to another b'cos the fields are generated dynamically and also very large in no..say 1000 fields..
..and also if i store the values in an array in JAVASCRIPT..i can't pass this array to the server along with its value..
i have a doubt that if i use a java file in <jsp:use bean>so that my bean collects all the values in an array and stores that value so that whenever needed i can collect that??but from my html fields how to interact with the bean which collects the value from my html fields(again i should go for javascript-which collects the values from the fields and puts in a hidden field..so iam back to score1 where i can't use hidden fields)..so is there any other way to do this???please help me its very urgent
thanx in advance
awaiting for your reply
ram
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
I wouldn't bother sending any information to a page which isn't needed on that page. Put the rest in your session and just update it when any page submit comes in. When you build the next page, render it from the current session values, without worrying how they got there.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
Ram,
I replied to your mail which you sent to yahoo id today. Please take a look.
regds
maha anna
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSp-urgent