• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
pradeep gamage
Ranch Hand
Posts: 85
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • 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.
 
Kumar Raja
Ranch Hand
Posts: 547
2
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • 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 Java Spring
  • Mark post as helpful
  • send pies
  • 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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you not want to use the session?
 
pradeep gamage
Ranch Hand
Posts: 85
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • 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.
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic