This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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 ]
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.