0

I'm using JSF 2.0 and jsp as views instead of facelets. I have a registration form, which on success returns a registration number, which i want to display it as a popup. and also i want to display this num in each of my page when and where required.

How can I achieve this?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Mango
  • 650
  • 2
  • 16
  • 38
  • Is this your colleague/classmate? http://stackoverflow.com/questions/5866158 By the way, why still sticking to the ancient JSP instead of using its successor Facelets? – BalusC May 09 '11 at 11:48
  • @BalusC she is my classmate.. both of us are working on same project.. We are insisted to work on JSPs...Can u please help us... – Mango May 11 '11 at 05:26

1 Answers1

0

Keep the registration number in session for further use.popup can displayed using JavaScript in your jsp page.

sudmong
  • 2,036
  • 13
  • 12
  • can you please be clear... how do i keep the registration number in a session – Mango May 11 '11 at 05:27
  • See [Session Tracking](http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Session-Tracking.html). This will help you to understand the session tracking. – sudmong May 11 '11 at 06:23