aspose file tools*
The moose likes Java in General and the fly likes How to build a login-screen : seeking comment on concept ! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to build a login-screen : seeking comment on concept !" Watch "How to build a login-screen : seeking comment on concept !" New topic
Author

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

achana chan
Ranch Hand

Joined: Jul 29, 2002
Posts: 277
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 ]

humanum errare est.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
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.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to build a login-screen : seeking comment on concept !