• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Create a login, it is taking data by using five step

 
Ranch Hand
Posts: 85
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to JSP,Servlet . so can you give me idea to create login its taking data with five steps.
I already created by using session. any other easy way to do this scenario?
thanks.
 
Ranch Hand
Posts: 558
2
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

pradeep gamage wrote:I am new to JSP,Servlet . so can you give me idea to create login its taking data with five steps.
I already created by using session. any other easy way to do this scenario?
thanks.



Your question is not clear. Could you elaborate a bit and possibly with your code, so that it can be understood and answered. Most of the vague questions will not attain the attention of the readers.
 
pradeep gamage
Ranch Hand
Posts: 85
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Kumar Raja for replaying me,

I am Creating Login.
So if some one else Don't have an account to login, he or she can register with my system. then he or she can log with username and password they provided.
but when some one else register with my system, they have to provide basic personal information, bank information, username password etc.. so he has to provide basic personal information in first page in registration then when he click NEXT go to second page of registration and it's getting bank details. when he click NEXT open next registration page which getting username and password and next page having agreement. when he click FINISH only data will go to database. so I have developed this scenario by using session. when he click first page next button this data assign to session variable. like wise all data assign to session variable. finally this session variable send to database.

so can any one of you suggest any other way to do this scenario.
thanks.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why would you not want to use the session?
 
pradeep gamage
Ranch Hand
Posts: 85
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am ok with session.
I used session. but i want to know that any other easy way to this. in my system if he click PREVIOUS button i have to show data entered previous page. I did it with session variable.
Can I do this data tracking part by using Collection?
Thanks.
 
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You seem to have a working system whose design makes sense. So why are you picking random words and asking if you could use that instead?

You want to keep track of a user's progress over several requests. A session is specifically designed to do that. A Collection isn't. You could probably cobble something together using a Collection... I don't know how but it could probably be done somehow. Just like instead of using a hammer to pound in a nail, you could work out some way of using a bicycle to do it.
 
I am a man of mystery. Mostly because of this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic