This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
hi,good day, everyone ,i want to keep user setting values from popup form(multiple pages), can anyone guide me how to get alll data that user select or keyin in popup form in jsp ?...thank you very much for helping !! [ September 28, 2004: Message edited by: Alvin chew ]
thanks for reply adeel , what i actually means is as follow
why i must make email2 then only can prone the error ? i try "String email = (String) session.getAttribute("email2");" , it come up "can't find the variable " error, thank you !
Joined: Aug 15, 2004
may be your session doesn't have this "email2" attribute. try to get session.getId(). and confirm it that you are accessing the same session, while doing getAttribute().
infact couldn't get you really elaborate more if it is something different. give a snippet of setAttribute() along getAttribute()
Joined: Jan 08, 2004
hi, dirk, this is actually jsp question
i would like to further my description on this popup
when the popup form display, it actually contains 3 pages, i named it page1, page2 and page3 ..every page contains some textbox and selection for keeping user configuration setting
each page contains "previous" and "next" button, and when user click next button it will goto page2 while user in page1.. and also page2 next button will go page3, however, page3 contain extra button "preview" which allow display user selected data
now, i want to display selected data when user click "preview" button in page3, and these selected data also be save and use for further process
can anyone please suggest or guide me on my case ? thank you very much for your time !!
Joined: Sep 23, 2004
you can save selected data in HttpSession when user click "next"
Joined: Jan 08, 2004
do you mind to show me how to do that ? i'm new in jsp ...thank you for your time
C:\jakarta-tomcat-5.0.12\work\Catalina\localhost\jsp\org\apache\jsp\jsp\setsession_jsp.java:69: cannot find symbol symbol : variable email2 location: class org.apache.jsp.jsp.setsession_jsp out.print(email2); ^ 1 error