Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to build a login-screen : seeking comment on concept !

 
achana chan
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I would like to build a login screen like JAVA-Ranch's.
I would like to have an appletAA marshal the data and flush them to the servlet, which will check the database for the user and password : this part is working.
Technically I could get the data back to the appletAA on the web server.
The idea is this : depending on the returned access code, invoke another applet from the same docBase, but is that what I need ???
I have my doubts.
Would it be a better solution to have the login-appletAA on the web-server and have the rest as servlets on the app-server ie single point of entry to the app-server from the web-server ???
Instead of getting the data back to the appletAA on the web-server if the login is successful, do you have the login-servlet call another servlet, in JavaRanch's case throw up the saloon page ???
:roll:
I would really appreciate your thoughts and comment on this and others...
TIA
[ November 24, 2002: Message edited by: achana chan ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps not directly answering your question...
You may want to take a peek at the Servlets Trail of The Cattle Drive for some introductory ideas on session management.
And, if you haven't already discovered it, for good information on Servlets and JSPs (and session management), head on over to http://www.coreservlets.com and scroll down to the try-before-you-buy link where you can view Marty Hall's Core Servlets book for free on-line.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic